From 47e6b9de8b237d8af154325e1d9dfbc463a8d4f0 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sun, 18 Feb 2018 16:28:39 +0000 Subject: md_tw.py: Update TWInlineLexer. * md_tw.py (__init__): Update method. --- md_tw.py | 3 --- 1 file changed, 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 -- cgit v1.2.3