mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-26 03:27:14 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user