Skip to content

Commit e2d0c45

Browse files
[docutils] Fix type of standalone.Reader.document (#14447)
1 parent 7864edb commit e2d0c45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from typing import ClassVar, Final, TypeVar
22

3-
from docutils import readers
3+
from docutils import nodes, readers
44

55
__docformat__: Final = "reStructuredText"
66

77
_S = TypeVar("_S", bound=str | bytes)
88

99
class Reader(readers.Reader[_S]):
10-
document: None # type: ignore[assignment]
10+
document: nodes.document | None # type: ignore[assignment]
1111
config_section_dependencies: ClassVar[tuple[str, ...]]

0 commit comments

Comments
 (0)