Improve type annotations in 'docutils.parsers.rst' (#11523)

This commit is contained in:
danieleades
2024-03-08 14:14:00 +00:00
committed by GitHub
parent 52daae514a
commit 3646f644b8
2 changed files with 46 additions and 15 deletions
@@ -11,11 +11,9 @@ docutils.nodes.GenericNodeVisitor.__getattr__
# these methods take a rawsource parameter that has been deprecated and is completely ignored, so we omit it from the stub
docutils.nodes.Text.__new__
docutils.parsers.recommonmark_wrapper
docutils.parsers.rst.Directive.__getattr__
docutils.transforms.Transform.__getattr__
docutils.transforms.Transformer.__getattr__
docutils.TransformSpec.unknown_reference_resolvers
docutils.utils.Reporter.__getattr__
# the constructor appears to be mostly internal API, public API users are meant to use docutils.utils.new_reporter instead
docutils.utils.Reporter.__init__