mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add substitution_defs to docutils.nodes.document (#11307)
This commit is contained in:
@@ -134,9 +134,13 @@ class Structural: ...
|
||||
class Body: ...
|
||||
class General(Body): ...
|
||||
class Root: ...
|
||||
class PreBibliographic: ...
|
||||
class Special(Body): ...
|
||||
class Invisible(PreBibliographic): ...
|
||||
|
||||
class document(Root, Structural, Element):
|
||||
transformer: Transformer
|
||||
substitution_defs: dict[str, substitution_definition]
|
||||
def copy(self) -> Self: ...
|
||||
def deepcopy(self) -> Self: ...
|
||||
def pformat(self, indent: str = " ", level: int = 0) -> str: ...
|
||||
@@ -144,6 +148,7 @@ class document(Root, Structural, Element):
|
||||
def __getattr__(self, __name: str) -> Incomplete: ...
|
||||
|
||||
class paragraph(General, TextElement): ...
|
||||
class substitution_definition(Special, Invisible, TextElement): ...
|
||||
|
||||
class NodeVisitor:
|
||||
def __init__(self, document: document): ...
|
||||
|
||||
Reference in New Issue
Block a user