From 2bdf2a10665fd232677c0cea5fce3b1d3613cafd Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 5 Mar 2018 02:25:22 +0000 Subject: md_tw.py: Fix TWInlineLexer docstring. --- md_tw.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/md_tw.py b/md_tw.py index cee1c0e..5b6ac93 100644 --- a/md_tw.py +++ b/md_tw.py @@ -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 -- cgit v1.2.3