Use PEP 570 syntax in stdlib (#11250)

This commit is contained in:
Shantanu
2024-03-09 14:50:16 -08:00
committed by GitHub
parent 63737acac6
commit 470a13ab09
139 changed files with 2412 additions and 2371 deletions

View File

@@ -9,7 +9,7 @@ class Xxo:
if sys.version_info >= (3, 11) and sys.platform != "win32":
x_exports: int
def foo(__i: int, __j: int) -> Any: ...
def foo(i: int, j: int, /) -> Any: ...
def new() -> Xxo: ...
if sys.version_info >= (3, 10):
@@ -19,4 +19,4 @@ else:
class error(Exception): ...
class Null: ...
def roj(__b: Any) -> None: ...
def roj(b: Any, /) -> None: ...