summaryrefslogtreecommitdiff
path: root/pygments/lexer.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-06-13 14:50:00 +0200
committergbrandl <devnull@localhost>2007-06-13 14:50:00 +0200
commit8495be8cf658bb36da9091a8c1fb63dcdbf50e22 (patch)
treefe535c8ed67c7ec7bd6168daf2604efb09433c41 /pygments/lexer.py
parente5e707a6c957e081fc0a99879666e352693520bb (diff)
downloadpygments-8495be8cf658bb36da9091a8c1fb63dcdbf50e22.tar.gz
[svn] Smartify pygmentize encoding handling.
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r--pygments/lexer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py
index c53dad0f..be1e07db 100644
--- a/pygments/lexer.py
+++ b/pygments/lexer.py
@@ -56,9 +56,9 @@ class Lexer(object):
``encoding``
If given, must be an encoding name. This encoding will be used to
convert the input string to Unicode, if it is not already a Unicode
- string. The default is to use latin1 (default: 'latin1').
- Can also be 'guess' to use a simple UTF-8 / Latin1 detection, or
- 'chardet' to use the chardet library, if it is installed.
+ string (default: ``'latin1'``).
+ Can also be ``'guess'`` to use a simple UTF-8 / Latin1 detection, or
+ ``'chardet'`` to use the chardet library, if it is installed.
"""
#: Name of the lexer