diff options
author | gbrandl <devnull@localhost> | 2008-03-29 12:53:25 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2008-03-29 12:53:25 +0100 |
commit | bd5507f6acde760df49da6d689e9ff1bc61e6222 (patch) | |
tree | 18efb1c68f55834e25034a255e7812fc6e694c62 /docs/src | |
parent | d06bbbd17be3be7cde83cac1a9dfae24ae60e34b (diff) | |
download | pygments-bd5507f6acde760df49da6d689e9ff1bc61e6222.tar.gz |
Fix argument order.
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/api.txt | 2 |
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. |