mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
use '-> Any' instead of '-> object'
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
# 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 _get_object_traceback(*args, **kwargs) -> object: ...
|
||||
def _get_object_traceback(*args, **kwargs) -> Any: ...
|
||||
|
||||
def _get_traces() -> object:
|
||||
def _get_traces() -> Any:
|
||||
raise MemoryError()
|
||||
|
||||
def clear_traces() -> None: ...
|
||||
@@ -16,7 +16,7 @@ def get_traceback_limit() -> long: ...
|
||||
|
||||
def get_traced_memory() -> tuple: ...
|
||||
|
||||
def get_tracemalloc_memory() -> object: ...
|
||||
def get_tracemalloc_memory() -> Any: ...
|
||||
|
||||
def is_tracing() -> bool: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user