mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-17 07:14:12 +08:00
Use PEP 570 syntax in third party stubs (#11554)
This commit is contained in:
@@ -169,7 +169,7 @@ class Connection:
|
||||
) -> Incomplete: ... # TODO: type, see RFC-5705
|
||||
def get_app_data(self) -> Any: ...
|
||||
def set_app_data(self, data: Any) -> None: ...
|
||||
def sock_shutdown(self, __how: int) -> None: ... # alias to `_socket.socket.shutdown`
|
||||
def sock_shutdown(self, how: int, /) -> None: ... # alias to `_socket.socket.shutdown`
|
||||
def want_read(self) -> bool: ...
|
||||
def want_write(self) -> bool: ...
|
||||
def get_session(self) -> Session | None: ...
|
||||
|
||||
Reference in New Issue
Block a user