mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-09 06:46:18 +08:00
Type inline_text in stubs/docutils/docutils/parsers/rst/states.pyi (#14467)
This commit is contained in:
@@ -6,6 +6,7 @@ from typing import Any, ClassVar, Final, NoReturn
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from docutils import ApplicationError, DataError, nodes
|
||||
from docutils.nodes import Node, system_message
|
||||
from docutils.parsers.rst.languages import _RstLanguageModule
|
||||
from docutils.statemachine import StateMachine, StateMachineWS, StateWS, StringList
|
||||
from docutils.utils import Reporter
|
||||
@@ -88,7 +89,7 @@ class RSTState(StateWS[list[str]]):
|
||||
def title_inconsistent(self, sourcetext: str, lineno: int): ...
|
||||
def new_subsection(self, title: str, lineno: int, messages) -> None: ...
|
||||
def paragraph(self, lines: Iterable[str], lineno: int): ...
|
||||
def inline_text(self, text: str, lineno: int): ...
|
||||
def inline_text(self, text: str, lineno: int) -> tuple[list[Node], list[system_message]]: ...
|
||||
def unindent_warning(self, node_name: str): ...
|
||||
|
||||
def build_regexp(definition, compile: bool = True): ...
|
||||
|
||||
Reference in New Issue
Block a user