Fix type of transform argument of docutils.nodes.pending.__init__ (#12459)

This commit is contained in:
Clément Pit-Claudel
2024-09-07 00:30:02 +02:00
committed by GitHub
parent fb4a92d12b
commit e8e9291c76

View File

@@ -416,10 +416,15 @@ class system_message(Special, BackLinkable, PreBibliographic, Element):
def __init__(self, message: str | None = None, *children: Node, **attributes) -> None: ...
class pending(Special, Invisible, Element):
transform: Transform
transform: type[Transform]
details: Mapping[str, Any]
def __init__(
self, transform: Transform, details: Mapping[str, Any] | None = None, rawsource: str = "", *children: Node, **attributes
self,
transform: type[Transform],
details: Mapping[str, Any] | None = None,
rawsource: str = "",
*children: Node,
**attributes,
) -> None: ...
class raw(Special, Inline, PreBibliographic, FixedTextElement): ...