mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-02 21:38:20 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
1
stdlib/3/docutils/__init__.pyi
Normal file
1
stdlib/3/docutils/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
...
|
||||
3
stdlib/3/docutils/examples.pyi
Normal file
3
stdlib/3/docutils/examples.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
html_parts = ... # type: Any
|
||||
8
stdlib/3/docutils/nodes.pyi
Normal file
8
stdlib/3/docutils/nodes.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from typing import Any, List
|
||||
|
||||
class reference:
|
||||
def __init__(self,
|
||||
rawsource: str = '',
|
||||
text: str = '',
|
||||
*children: List[Any],
|
||||
**attributes) -> None: ...
|
||||
1
stdlib/3/docutils/parsers/__init__.pyi
Normal file
1
stdlib/3/docutils/parsers/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
...
|
||||
0
stdlib/3/docutils/parsers/rst/__init__.pyi
Normal file
0
stdlib/3/docutils/parsers/rst/__init__.pyi
Normal file
1
stdlib/3/docutils/parsers/rst/nodes.pyi
Normal file
1
stdlib/3/docutils/parsers/rst/nodes.pyi
Normal file
@@ -0,0 +1 @@
|
||||
...
|
||||
10
stdlib/3/docutils/parsers/rst/roles.pyi
Normal file
10
stdlib/3/docutils/parsers/rst/roles.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
import docutils.nodes
|
||||
import docutils.parsers.rst.states
|
||||
|
||||
from typing import Callable, Any, List, Dict, Tuple
|
||||
|
||||
def register_local_role(name: str,
|
||||
role_fn: Callable[[str, str, str, int, docutils.parsers.rst.states.Inliner, Dict, List],
|
||||
Tuple[List[docutils.nodes.reference], List[docutils.nodes.reference]]]
|
||||
) -> None:
|
||||
...
|
||||
5
stdlib/3/docutils/parsers/rst/states.pyi
Normal file
5
stdlib/3/docutils/parsers/rst/states.pyi
Normal file
@@ -0,0 +1,5 @@
|
||||
import typing
|
||||
|
||||
class Inliner:
|
||||
def __init__(self) -> None:
|
||||
...
|
||||
Reference in New Issue
Block a user