summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2008-03-29 12:53:25 +0100
committergbrandl <devnull@localhost>2008-03-29 12:53:25 +0100
commitbd5507f6acde760df49da6d689e9ff1bc61e6222 (patch)
tree18efb1c68f55834e25034a255e7812fc6e694c62 /docs/src
parentd06bbbd17be3be7cde83cac1a9dfae24ae60e34b (diff)
downloadpygments-bd5507f6acde760df49da6d689e9ff1bc61e6222.tar.gz
Fix argument order.
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/api.txt b/docs/src/api.txt
index ba581306..7998a7e2 100644
--- a/docs/src/api.txt
+++ b/docs/src/api.txt
@@ -61,7 +61,7 @@ def `guess_lexer(text, **options):`
`pygments.util.ClassNotFound` is raised if no lexer thinks it can handle the
content.
-def `guess_lexer_for_filename(text, filename, **options):`
+def `guess_lexer_for_filename(filename, text, **options):`
As `guess_lexer()`, but only lexers which have a pattern in `filenames`
or `alias_filenames` that matches `filename` are taken into consideration.