mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-16 13:35:04 +08:00
Added some missing type annotations within third-party stub files (#4467)
Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Vendored
+1
-1
@@ -1,3 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name) -> Any: ...
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
Vendored
+1
-1
@@ -2,4 +2,4 @@ from typing import Any
|
||||
|
||||
html_parts: Any
|
||||
|
||||
def __getattr__(name) -> Any: ...
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
from typing import Any, List
|
||||
|
||||
class reference:
|
||||
def __init__(self, rawsource: str = ..., text: str = ..., *children: List[Any], **attributes) -> None: ...
|
||||
def __init__(self, rawsource: str = ..., text: str = ..., *children: List[Any], **attributes: Any) -> None: ...
|
||||
|
||||
def __getattr__(name) -> Any: ...
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name) -> Any: ...
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name) -> Any: ...
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name) -> Any: ...
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ from typing import Any
|
||||
class Inliner:
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
def __getattr__(name) -> Any: ...
|
||||
def __getattr__(name: str) -> Any: ...
|
||||
|
||||
Vendored
+1
-1
@@ -28,7 +28,7 @@ identifier = str
|
||||
class AST:
|
||||
_attributes: typing.Tuple[str, ...]
|
||||
_fields: typing.Tuple[str, ...]
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
|
||||
class mod(AST): ...
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -28,7 +28,7 @@ identifier = str
|
||||
class AST:
|
||||
_attributes: typing.Tuple[str, ...]
|
||||
_fields: typing.Tuple[str, ...]
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
|
||||
class mod(AST): ...
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -8,4 +8,4 @@ def match(obj_name: str) -> Tuple[str, str]: ...
|
||||
def resolve(module_name: str, object_name: str) -> Any: ...
|
||||
def show_help(stream: TextIOWrapper, name: str, error: Optional[str] = ...) -> None: ...
|
||||
def show_exception(stream: TextIOWrapper) -> None: ...
|
||||
def run(argv: Sequence[str] = ..., _serve: Callable[..., Any] = ...): ...
|
||||
def run(argv: Sequence[str] = ..., _serve: Callable[..., Any] = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user