mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +08:00
Re-organize directory structure (#4971)
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
3
stubs/docutils/docutils/__init__.pyi
Normal file
3
stubs/docutils/docutils/__init__.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
5
stubs/docutils/docutils/examples.pyi
Normal file
5
stubs/docutils/docutils/examples.pyi
Normal file
@@ -0,0 +1,5 @@
|
||||
from typing import Any
|
||||
|
||||
html_parts: Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
6
stubs/docutils/docutils/nodes.pyi
Normal file
6
stubs/docutils/docutils/nodes.pyi
Normal file
@@ -0,0 +1,6 @@
|
||||
from typing import Any, List
|
||||
|
||||
class reference:
|
||||
def __init__(self, rawsource: str = ..., text: str = ..., *children: List[Any], **attributes: Any) -> None: ...
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
3
stubs/docutils/docutils/parsers/__init__.pyi
Normal file
3
stubs/docutils/docutils/parsers/__init__.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
3
stubs/docutils/docutils/parsers/rst/__init__.pyi
Normal file
3
stubs/docutils/docutils/parsers/rst/__init__.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
3
stubs/docutils/docutils/parsers/rst/nodes.pyi
Normal file
3
stubs/docutils/docutils/parsers/rst/nodes.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
12
stubs/docutils/docutils/parsers/rst/roles.pyi
Normal file
12
stubs/docutils/docutils/parsers/rst/roles.pyi
Normal file
@@ -0,0 +1,12 @@
|
||||
from typing import Any, Callable, Dict, List, Tuple
|
||||
|
||||
import docutils.nodes
|
||||
import docutils.parsers.rst.states
|
||||
|
||||
_RoleFn = Callable[
|
||||
[str, str, str, int, docutils.parsers.rst.states.Inliner, Dict[str, Any], List[str]],
|
||||
Tuple[List[docutils.nodes.reference], List[docutils.nodes.reference]],
|
||||
]
|
||||
|
||||
def register_local_role(name: str, role_fn: _RoleFn) -> None: ...
|
||||
def __getattr__(name: str) -> Any: ... # incomplete
|
||||
6
stubs/docutils/docutils/parsers/rst/states.pyi
Normal file
6
stubs/docutils/docutils/parsers/rst/states.pyi
Normal file
@@ -0,0 +1,6 @@
|
||||
from typing import Any
|
||||
|
||||
class Inliner:
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
Reference in New Issue
Block a user