summaryrefslogtreecommitdiff
path: root/pygments/filters
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/filters
parentff3a8dea781fb0492de4abbd4da48a5b1c110974 (diff)
downloadpygments-3b5d25c8d1b9ff34ac24230f606355c49bf429ab.tar.gz
use versionadded directives
Diffstat (limited to 'pygments/filters')
-rw-r--r--pygments/filters/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/filters/__init__.py b/pygments/filters/__init__.py
index 4806eeec..2de661c7 100644
--- a/pygments/filters/__init__.py
+++ b/pygments/filters/__init__.py
@@ -182,7 +182,7 @@ class RaiseOnErrorTokenFilter(Filter):
The exception class to raise.
The default is `pygments.filters.ErrorToken`.
- *New in Pygments 0.8.*
+ .. versionadded:: 0.8
"""
def __init__(self, **options):
@@ -230,7 +230,7 @@ class VisibleWhitespaceFilter(Filter):
styling the visible whitespace differently (e.g. greyed out), but it can
disrupt background colors. The default is ``True``.
- *New in Pygments 0.8.*
+ .. versionadded:: 0.8
"""
def __init__(self, **options):
@@ -295,7 +295,7 @@ class GobbleFilter(Filter):
`n` : int
The number of characters to gobble.
- *New in Pygments 1.2.*
+ .. versionadded:: 1.2
"""
def __init__(self, **options):
Filter.__init__(self, **options)
@@ -327,7 +327,7 @@ class TokenMergeFilter(Filter):
Merges consecutive tokens with the same token type in the output stream of a
lexer.
- *New in Pygments 1.2.*
+ .. versionadded:: 1.2
"""
def __init__(self, **options):
Filter.__init__(self, **options)