sys: fix pos-only args (#11978)

This commit is contained in:
Shantanu
2024-05-18 19:14:44 -07:00
committed by GitHub
parent 2ab710010b
commit 5d580629be

View File

@@ -264,9 +264,9 @@ def getrecursionlimit() -> int: ...
def getsizeof(obj: object, default: int = ...) -> int: ...
def getswitchinterval() -> float: ...
def getprofile() -> ProfileFunction | None: ...
def setprofile(profilefunc: ProfileFunction | None) -> None: ...
def setprofile(function: ProfileFunction | None, /) -> None: ...
def gettrace() -> TraceFunction | None: ...
def settrace(tracefunc: TraceFunction | None) -> None: ...
def settrace(function: TraceFunction | None, /) -> None: ...
if sys.platform == "win32":
# A tuple of length 5, even though it has more than 5 attributes.