mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-05 22:54:17 +08:00
use '-> Any' instead of '-> object'
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, GenericType
|
||||
from typing import Any, List, Tuple, Dict, GenericType
|
||||
|
||||
class zipimporter(object):
|
||||
def find_module(a: str, *args, **kwargs) -> None: ...
|
||||
def get_code(a: str) -> object: ...
|
||||
def get_code(a: str) -> Any: ...
|
||||
def get_data(a: str) -> str:
|
||||
raise IOError()
|
||||
def get_filename(a: str) -> str: ...
|
||||
def get_source(a: str) -> object: ...
|
||||
def get_source(a: str) -> Any: ...
|
||||
def is_package(a: str) -> bool: ...
|
||||
def load_module(a: str) -> object: ...
|
||||
def load_module(a: str) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user