mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 17:58:40 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
@@ -9,7 +9,7 @@ __version__: str
|
||||
class _Stream(Protocol):
|
||||
def isatty(self) -> bool: ...
|
||||
def flush(self) -> None: ...
|
||||
def write(self, __s: str) -> int: ...
|
||||
def write(self, s: str, /) -> int: ...
|
||||
|
||||
class Spinner:
|
||||
spinner_cycle: Iterator[str]
|
||||
|
||||
Reference in New Issue
Block a user