Skip to content

Commit 6c906fe

Browse files
committed
[docutils] Update to 0.22.3
1 parent e524443 commit 6c906fe

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

stubs/docutils/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "0.22.2"
1+
version = "0.22.3"
22
upstream_repository = "https://sourceforge.net/p/docutils/code"

stubs/docutils/docutils/parsers/rst/directives/body.pyi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ _DirectiveFn: TypeAlias = Callable[[str], str | list[str]]
1212
class BasePseudoSection(Directive):
1313
option_spec: ClassVar[dict[str, _DirectiveFn]]
1414
node_class: ClassVar[type[nodes.Node] | None]
15+
invalid_parents: ClassVar[
16+
Final[
17+
tuple[
18+
type[nodes.SubStructural],
19+
type[nodes.Bibliographic],
20+
type[nodes.Decorative],
21+
type[nodes.Body],
22+
type[nodes.Part],
23+
type[nodes.topic],
24+
]
25+
]
26+
]
1527
def run(self): ...
1628

1729
class Topic(BasePseudoSection):

0 commit comments

Comments
 (0)