diff --git a/stubs/docutils/docutils/nodes.pyi b/stubs/docutils/docutils/nodes.pyi index f48bf79bd..efb641930 100644 --- a/stubs/docutils/docutils/nodes.pyi +++ b/stubs/docutils/docutils/nodes.pyi @@ -115,6 +115,9 @@ class Element(Node): class TextElement(Element): def __init__(self, rawsource: str = "", text: str = "", *children: Node, **attributes) -> None: ... +class FixedTextElement(TextElement): + def __init__(self, rawsource: str = "", text: str = "", *children: Node, **attributes) -> None: ... + class Text(Node, str): tagname: ClassVar[str] children: tuple[()] @@ -148,6 +151,7 @@ class document(Root, Structural, Element): def __getattr__(self, __name: str) -> Incomplete: ... class paragraph(General, TextElement): ... +class literal_block(General, FixedTextElement): ... class substitution_definition(Special, Invisible, TextElement): ... class NodeVisitor: