We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebefb1 commit 082761dCopy full SHA for 082761d
stubs/docutils/docutils/parsers/rst/states.pyi
@@ -6,6 +6,7 @@ from typing import Any, ClassVar, Final, NoReturn
6
from typing_extensions import TypeAlias
7
8
from docutils import ApplicationError, DataError, nodes
9
+from docutils.nodes import Node, system_message
10
from docutils.parsers.rst.languages import _RstLanguageModule
11
from docutils.statemachine import StateMachine, StateMachineWS, StateWS, StringList
12
from docutils.utils import Reporter
@@ -88,7 +89,7 @@ class RSTState(StateWS[list[str]]):
88
89
def title_inconsistent(self, sourcetext: str, lineno: int): ...
90
def new_subsection(self, title: str, lineno: int, messages) -> None: ...
91
def paragraph(self, lines: Iterable[str], lineno: int): ...
- def inline_text(self, text: str, lineno: int): ...
92
+ def inline_text(self, text: str, lineno: int) -> tuple[list[Node], list[system_message]]: ...
93
def unindent_warning(self, node_name: str): ...
94
95
def build_regexp(definition, compile: bool = True): ...
0 commit comments