mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-11 20:51:42 +08:00
Apply stub fixes from o11c.
These are extracted from https://github.com/JukkaL/mypy/pull/721
This commit is contained in:
1
stubs/third-party-3.2/docutils/__init__.pyi
Normal file
1
stubs/third-party-3.2/docutils/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
...
|
||||
3
stubs/third-party-3.2/docutils/examples.pyi
Normal file
3
stubs/third-party-3.2/docutils/examples.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
html_parts = ... # type: Any
|
||||
8
stubs/third-party-3.2/docutils/nodes.pyi
Normal file
8
stubs/third-party-3.2/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
stubs/third-party-3.2/docutils/parsers/__init__.pyi
Normal file
1
stubs/third-party-3.2/docutils/parsers/__init__.pyi
Normal file
@@ -0,0 +1 @@
|
||||
...
|
||||
1
stubs/third-party-3.2/docutils/parsers/rst/nodes.pyi
Normal file
1
stubs/third-party-3.2/docutils/parsers/rst/nodes.pyi
Normal file
@@ -0,0 +1 @@
|
||||
...
|
||||
10
stubs/third-party-3.2/docutils/parsers/rst/roles.pyi
Normal file
10
stubs/third-party-3.2/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
stubs/third-party-3.2/docutils/parsers/rst/states.pyi
Normal file
5
stubs/third-party-3.2/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