mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Fix return annotations of several methods that return self at runtime (#7070)
This commit is contained in:
1 parent
749d3db815
commit
33ecb68603
8 files changed
+19
-15
No files matched your search
+1
-1
@@ -396,7 +396,7 @@ class SSLContext:
|
||||
if sys.version_info >= (3, 8):
|
||||
keylog_filename: str
|
||||
post_handshake_auth: bool
|
||||
def __new__(cls, protocol: int = ..., *args: Any, **kwargs: Any) -> SSLContext: ...
|
||||
def __new__(cls: type[Self], protocol: int = ..., *args: Any, **kwargs: Any) -> Self: ...
|
||||
def __init__(self, protocol: int = ...) -> None: ...
|
||||
def cert_store_stats(self) -> dict[str, int]: ...
|
||||
def load_cert_chain(
|
||||
|
||||
Reference in new issue
Block a user