mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 16:38:55 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
1 parent
f94bbfbcc4
commit
88fa182253
97 files changed
+625
-632
No files matched your search
@@ -18,7 +18,7 @@ class _NullCoder:
|
||||
def decode(b: str, final: bool = False): ...
|
||||
|
||||
class _Logfile(Protocol):
|
||||
def write(self, __s) -> object: ...
|
||||
def write(self, s, /) -> object: ...
|
||||
def flush(self) -> object: ...
|
||||
|
||||
_ErrorPattern: TypeAlias = type[EOF | TIMEOUT]
|
||||
|
||||
Reference in new issue
Block a user