diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2018-01-13 16:13:07 -0500 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2018-01-13 16:18:41 -0500 |
commit | 7637fb6c85ae753616046c1d4c9b23b56c8cdf57 (patch) | |
tree | 7774ea7c12ef8e9f8e4a1bf8d3d4377a7679226d /markdown/extensions/sane_lists.py | |
parent | 9ea3bdefbb62165c5c060852c60bfb5acd2574f1 (diff) | |
download | python-markdown-7637fb6c85ae753616046c1d4c9b23b56c8cdf57.tar.gz |
Remove deprecated support for Extension args.
In the past Markdown used to pass extension config settings to the
Extension class via a positional argument named `config`. That was
deprecated in 2.6 in favor of using keyword arguments (`**kwargs`).
Support has been completely dropped. Only keyword arguments are
accepted.
Diffstat (limited to 'markdown/extensions/sane_lists.py')
-rw-r--r-- | markdown/extensions/sane_lists.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/extensions/sane_lists.py b/markdown/extensions/sane_lists.py index 4b118af..89f929f 100644 --- a/markdown/extensions/sane_lists.py +++ b/markdown/extensions/sane_lists.py @@ -51,5 +51,5 @@ class SaneListExtension(Extension): md.parser.blockprocessors['ulist'] = SaneUListProcessor(md.parser) -def makeExtension(*args, **kwargs): # pragma: no cover - return SaneListExtension(*args, **kwargs) +def makeExtension(**kwargs): # pragma: no cover + return SaneListExtension(**kwargs) |