sys: fix pos-only args (#11978)

This commit is contained in:
Shantanu authored and GitHub committed 2024-05-18 22:14:44 -04:00
1 parent 2ab710010b
commit 5d580629be
1 file changed
+2 -2
+2 -2
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.