Apply stub fixes from o11c.

These are extracted from https://github.com/JukkaL/mypy/pull/721
This commit is contained in:
Matthias Kramm
2015-10-01 14:52:47 -07:00
parent 28e24a4664
commit 9edaf83284
14 changed files with 271 additions and 22 deletions

View File

@@ -0,0 +1 @@
...

View File

@@ -0,0 +1,3 @@
from typing import Any
html_parts = ... # type: Any

View File

@@ -0,0 +1,8 @@
from typing import Any, List
class reference:
def __init__(self,
rawsource: str = '',
text: str = '',
*children: List[Any],
**attributes) -> None: ...

View File

@@ -0,0 +1 @@
...

View File

@@ -0,0 +1 @@
...

View 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:
...

View File

@@ -0,0 +1,5 @@
import typing
class Inliner:
def __init__(self) -> None:
...