File tree 1 file changed +5
-8
lines changed
stubs/docutils/docutils/readers
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
__docformat__ : str
2
2
3
- from typing import Any , ClassVar , Literal
3
+ from typing import ClassVar , Literal , TypeVar
4
4
5
5
from docutils .parsers import Parser
6
6
from docutils .parsers .rst .states import Inliner
7
7
from docutils .readers import standalone
8
- from docutils .transforms import Transform
9
8
10
- class Reader ( standalone . Reader ):
9
+ _S = TypeVar ( "_S" )
11
10
12
- supported : ClassVar [ tuple [ Literal [ "pep" ]]]
11
+ class Reader ( standalone . Reader [ _S ]):
13
12
14
- settings_spec : ClassVar [tuple [Any , ... ]]
13
+ supported : ClassVar [tuple [Literal [ "pep" ] ]]
15
14
16
- config_section : ClassVar [str ]
15
+ config_section : ClassVar [Literal [ 'pep reader' ] ]
17
16
config_section_dependencies : ClassVar [tuple [Literal ['readers' ], Literal ['standalone reader' ]]]
18
17
19
- def get_transforms (self ) -> list [type [Transform ]]: ...
20
-
21
18
settings_default_overrides : ClassVar [dict [str , int ]]
22
19
23
20
inliner_class : ClassVar [type [Inliner ]]
You can’t perform that action at this time.
0 commit comments