Add substitution_defs to docutils.nodes.document (#11307)

This commit is contained in:
Adam Dangoor
2024-01-24 14:21:53 +00:00
committed by GitHub
parent d689b486c0
commit b96d40a16c

View File

@@ -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): ...