diff --git a/stdlib/2.7/sys.pyi b/stdlib/2.7/sys.pyi index 8bd920fad..a1c0247dd 100644 --- a/stdlib/2.7/sys.pyi +++ b/stdlib/2.7/sys.pyi @@ -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: ... diff --git a/stdlib/3/sys.pyi b/stdlib/3/sys.pyi index b3ba22aee..accaadf0a 100644 --- a/stdlib/3/sys.pyi +++ b/stdlib/3/sys.pyi @@ -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