mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-18 06:19:47 +08:00
Few more fixes for issues found by testing on internal codebases (#4876)
Few unrelated (but quite obvious) fixes here. Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ from . import util
|
||||
def build_postprocessors(md, **kwargs): ...
|
||||
|
||||
class Postprocessor(util.Processor):
|
||||
def run(self, text) -> None: ...
|
||||
def run(self, text) -> Any: ...
|
||||
|
||||
class RawHtmlPostprocessor(Postprocessor):
|
||||
def isblocklevel(self, html): ...
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ def build_treeprocessors(md, **kwargs): ...
|
||||
def isString(s): ...
|
||||
|
||||
class Treeprocessor(util.Processor):
|
||||
def run(self, root) -> None: ...
|
||||
def run(self, root) -> Optional[Any]: ...
|
||||
|
||||
class InlineProcessor(Treeprocessor):
|
||||
inlinePatterns: Any
|
||||
|
||||
Reference in New Issue
Block a user