mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-26 16:50:25 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
@@ -0,0 +1 @@
|
||||
...
|
||||
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
html_parts = ... # type: Any
|
||||
@@ -0,0 +1,8 @@
|
||||
from typing import Any, List
|
||||
|
||||
class reference:
|
||||
def __init__(self,
|
||||
rawsource: str = '',
|
||||
text: str = '',
|
||||
*children: List[Any],
|
||||
**attributes) -> None: ...
|
||||
@@ -0,0 +1 @@
|
||||
...
|
||||
@@ -0,0 +1 @@
|
||||
...
|
||||
@@ -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:
|
||||
...
|
||||
@@ -0,0 +1,5 @@
|
||||
import typing
|
||||
|
||||
class Inliner:
|
||||
def __init__(self) -> None:
|
||||
...
|
||||
Reference in New Issue
Block a user