Skip to content

Commit

Permalink
Fix type of transform argument of docutils.nodes.pending.__init__ (
Browse files Browse the repository at this point in the history
  • Loading branch information
cpitclaudel committed Sep 6, 2024
1 parent fb4a92d commit e8e9291
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions stubs/docutils/docutils/nodes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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): ...
Expand Down

0 comments on commit e8e9291

Please sign in to comment.