mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 22:11:54 +08:00
add types to sys.getrefcount (#237)
This commit is contained in:
committed by
Guido van Rossum
parent
25a45d6daf
commit
a32d8a9da6
@@ -116,7 +116,7 @@ def getcheckinterval() -> int: ... # deprecated
|
||||
def getdefaultencoding() -> str: ...
|
||||
def getdlopenflags() -> int: ...
|
||||
def getfilesystemencoding() -> Union[str, None]: ...
|
||||
def getrefcount(object) -> int: ...
|
||||
def getrefcount(arg: Any) -> int: ...
|
||||
def getrecursionlimit() -> int: ...
|
||||
def getsizeof(obj: object, default: int = ...) -> int: ...
|
||||
def getprofile() -> None: ...
|
||||
|
||||
@@ -125,7 +125,7 @@ def getcheckinterval() -> int: ... # deprecated
|
||||
def getdefaultencoding() -> str: ...
|
||||
def getdlopenflags() -> int: ... # Unix only
|
||||
def getfilesystemencoding() -> str: ... # cannot return None
|
||||
def getrefcount(object) -> int: ...
|
||||
def getrefcount(arg: Any) -> int: ...
|
||||
def getrecursionlimit() -> int: ...
|
||||
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user