diff options
author | Waylan Limberg <waylan@gmail.com> | 2013-08-13 13:13:14 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2013-08-13 13:13:14 -0400 |
commit | d1541a58118c0968a0572e36d1956b866c95b534 (patch) | |
tree | 43250669ff18fbf7e6bac91d39090a235b68377e | |
parent | 72012c35273cef24b57af833cb38ac4cca6db98e (diff) | |
download | markdown-d1541a58118c0968a0572e36d1956b866c95b534.tar.gz markdown-d1541a58118c0968a0572e36d1956b866c95b534.tar.bz2 markdown-d1541a58118c0968a0572e36d1956b866c95b534.zip |
Deprecated CodeHilite's force_linenos config setting.
It was previously marked pendingdeprecation in v2.3. Now deprecated.
-rw-r--r-- | markdown/extensions/codehilite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py index 72b40fd..7a3676b 100644 --- a/markdown/extensions/codehilite.py +++ b/markdown/extensions/codehilite.py @@ -219,7 +219,7 @@ class CodeHiliteExtension(Extension): if key == 'force_linenos': warnings.warn('The "force_linenos" config setting' ' to the CodeHilite extension is deprecrecated.' - ' Use "linenums" instead.', PendingDeprecationWarning) + ' Use "linenums" instead.', DeprecationWarning) if value: # Carry 'force_linenos' over to new 'linenos'. self.setConfig('linenums', True) |