mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 12:51:27 +08:00
use '-> Any' instead of '-> object'
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
# 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
|
||||
|
||||
def dump(a, b, *args, **kwargs) -> object: ...
|
||||
def dump(a, b, *args, **kwargs) -> Any: ...
|
||||
|
||||
def dumps(a, *args, **kwargs) -> object: ...
|
||||
def dumps(a, *args, **kwargs) -> Any: ...
|
||||
|
||||
def load(*args, **kwargs) -> object:
|
||||
def load(*args, **kwargs) -> Any:
|
||||
raise TypeError()
|
||||
|
||||
def loads(a) -> object: ...
|
||||
def loads(a) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user