Fix stdlib stubtest for Python 3.11.8 and 3.12.2 (#11384)

Fix stubtest for Python 3.11.8 and 3.12.2
This commit is contained in:
Alex Waygood
2024-02-09 10:28:03 +00:00
committed by GitHub
parent 4eeb0e62bb
commit 15cdc20744
2 changed files with 6 additions and 1 deletions

View File

@@ -156,9 +156,10 @@ class SSLProtocol(_SSLProtocolBase):
def _check_handshake_timeout(self) -> None: ...
def _on_handshake_complete(self, handshake_exc: BaseException | None) -> None: ...
def _fatal_error(self, exc: BaseException, message: str = "Fatal error on transport") -> None: ...
def _abort(self) -> None: ...
if sys.version_info >= (3, 11):
def _abort(self, exc: BaseException | None) -> None: ...
def get_buffer(self, n: int) -> memoryview: ...
else:
def _abort(self) -> None: ...
def _finalize(self) -> None: ...
def _process_write_backlog(self) -> None: ...