summaryrefslogtreecommitdiff
path: root/pygments/lexer.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-19 19:05:19 +0100
committerGeorg Brandl <georg@python.org>2014-01-19 19:05:19 +0100
commit3b5d25c8d1b9ff34ac24230f606355c49bf429ab (patch)
treed5c583dfac120c590f27048ed4d47daa12dc72a5 /pygments/lexer.py
parentff3a8dea781fb0492de4abbd4da48a5b1c110974 (diff)
downloadpygments-3b5d25c8d1b9ff34ac24230f606355c49bf429ab.tar.gz
use versionadded directives
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r--pygments/lexer.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py
index 36f2f4a8..567e85f8 100644
--- a/pygments/lexer.py
+++ b/pygments/lexer.py
@@ -56,7 +56,9 @@ class Lexer(object):
``ensurenl``
Make sure that the input ends with a newline (default: True). This
is required for some lexers that consume input linewise.
- *New in Pygments 1.3.*
+
+ .. versionadded:: 1.3
+
``tabsize``
If given and greater than 0, expand tabs in the input (default: 0).
``encoding``