File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
third_party/2and3/markdown Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- from typing import Any , Pattern
1+ from typing import Any , Iterable , List , Pattern
22
33from . import util
44
55def build_preprocessors (md , ** kwargs ): ...
66
77class Preprocessor (util .Processor ):
8- def run (self , lines ) -> None : ...
8+ def run (self , lines : List [ str ] ) -> List [ str ] : ...
99
1010class NormalizeWhitespace (Preprocessor ):
11- def run (self , lines ) : ...
11+ def run (self , lines : Iterable [ str ]) -> List [ str ] : ...
1212
1313class HtmlBlockPreprocessor (Preprocessor ):
1414 right_tag_patterns : Any
@@ -17,10 +17,10 @@ class HtmlBlockPreprocessor(Preprocessor):
1717 attrs_re : Any
1818 left_tag_re : Any
1919 markdown_in_raw : bool = ...
20- def run (self , lines ) : ...
20+ def run (self , lines : Iterable [ str ]) -> List [ str ] : ...
2121
2222class ReferencePreprocessor (Preprocessor ):
2323 TITLE : str = ...
2424 RE : Pattern
2525 TITLE_RE : Pattern
26- def run (self , lines ) : ...
26+ def run (self , lines : List [ str ]) -> List [ str ] : ...
You can’t perform that action at this time.
0 commit comments