summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-02-18 16:28:39 +0000
committerrsiddharth <s@ricketyspace.net>2018-02-18 16:28:39 +0000
commit47e6b9de8b237d8af154325e1d9dfbc463a8d4f0 (patch)
tree670c5324c2950ed332d04f7abd10fff2d4037a1f
parent0ec376d8e6172fe31a9ff45dbc9a0ea8440742c6 (diff)
md_tw.py: Update TWInlineLexer.
* md_tw.py (__init__): Update method.
-rw-r--r--md_tw.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/md_tw.py b/md_tw.py
index 2feaf3f..52e1e98 100644
--- a/md_tw.py
+++ b/md_tw.py
@@ -208,9 +208,6 @@ class TWInlineLexer(mistune.InlineLexer):
def __init__(self, renderer, rules=None, **kwargs):
super(TWInlineLexer, self).__init__(renderer, rules, **kwargs)
- # No inline rules.
- self.default_rules = []
-
def output(self, text, rules=None):
# Don't parse inline text.
return text