summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Cornu <ncornu@aldebaran-robotics.com>2014-02-06 18:59:41 +0100
committerNicolas Cornu <ncornu@aldebaran-robotics.com>2014-02-06 18:59:41 +0100
commitbe67ecf5a68aa7a4b7c6dcaaaa4992343eb2762b (patch)
tree5a1692f729565122b833f4a61aae396a41159b93
parent76830a64b219cc2fd76b7ae7de12b717375a6793 (diff)
downloadpygments-be67ecf5a68aa7a4b7c6dcaaaa4992343eb2762b.tar.gz
Fix docstring from analyze_text to analyse_text
-rw-r--r--pygments/lexers/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/__init__.py b/pygments/lexers/__init__.py
index d844ef0d..7bcf3bf0 100644
--- a/pygments/lexers/__init__.py
+++ b/pygments/lexers/__init__.py
@@ -98,7 +98,7 @@ def get_lexer_by_name(_alias, **options):
def get_lexer_for_filename(_fn, code=None, **options):
"""
Get a lexer for a filename. If multiple lexers match the filename
- pattern, use ``analyze_text()`` to figure out which one is more
+ pattern, use ``analyse_text()`` to figure out which one is more
appropriate.
"""
matches = []