diff options
author | rsiddharth <s@ricketyspace.net> | 2018-03-05 02:25:22 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2018-03-05 02:25:22 +0000 |
commit | 2bdf2a10665fd232677c0cea5fce3b1d3613cafd (patch) | |
tree | 1fd42e20647afbf535646b72c14a03197786e6d9 /md_tw.py | |
parent | cdd32e767b648002aa0ad3f9a563c971d46b9b8f (diff) |
md_tw.py: Fix TWInlineLexer docstring.
Diffstat (limited to 'md_tw.py')
-rw-r--r-- | md_tw.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -210,7 +210,7 @@ class TWBlockLexer(mistune.BlockLexer): class TWInlineLexer(mistune.InlineLexer): - """Text Wrap Inline level lexer for inline gramars.""" + """Text Wrap Inline level lexer for inline grammars.""" def __init__(self, renderer, rules=None, **kwargs): super(TWInlineLexer, self).__init__(renderer, rules, **kwargs) @@ -256,7 +256,6 @@ class TWRenderer(mistune.Renderer): # Set option setattr(self.tw, opt, val) - def tw_fill(self, text, **kwargs): """Wrap text. """ @@ -279,7 +278,6 @@ class TWRenderer(mistune.Renderer): lambda line: True) return out - def header(self, text, level, raw=None): out = '{}'.format(text) return out |