File tree 1 file changed +5
-5
lines changed
third_party/2and3/markdown
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
2
2
3
3
from . import util
4
4
5
5
def build_preprocessors (md , ** kwargs ): ...
6
6
7
7
class Preprocessor (util .Processor ):
8
- def run (self , lines ) -> None : ...
8
+ def run (self , lines : List [ str ] ) -> List [ str ] : ...
9
9
10
10
class NormalizeWhitespace (Preprocessor ):
11
- def run (self , lines ) : ...
11
+ def run (self , lines : Iterable [ str ]) -> List [ str ] : ...
12
12
13
13
class HtmlBlockPreprocessor (Preprocessor ):
14
14
right_tag_patterns : Any
@@ -17,10 +17,10 @@ class HtmlBlockPreprocessor(Preprocessor):
17
17
attrs_re : Any
18
18
left_tag_re : Any
19
19
markdown_in_raw : bool = ...
20
- def run (self , lines ) : ...
20
+ def run (self , lines : Iterable [ str ]) -> List [ str ] : ...
21
21
22
22
class ReferencePreprocessor (Preprocessor ):
23
23
TITLE : str = ...
24
24
RE : Pattern
25
25
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