Fix an unnecessary allowlist entry in ssl.pyi (#9776)

This commit is contained in:
Alex Waygood
2023-02-21 00:35:38 +00:00
committed by GitHub
parent 9163c71e47
commit 4d99b33f84
2 changed files with 5 additions and 3 deletions

View File

@@ -291,11 +291,14 @@ ALERT_DESCRIPTION_UNSUPPORTED_CERTIFICATE: AlertDescription
ALERT_DESCRIPTION_UNSUPPORTED_EXTENSION: AlertDescription
ALERT_DESCRIPTION_USER_CANCELLED: AlertDescription
class _ASN1Object(NamedTuple):
class _ASN1ObjectBase(NamedTuple):
nid: int
shortname: str
longname: str
oid: str
class _ASN1Object(_ASN1ObjectBase):
def __new__(cls, oid: str) -> Self: ...
@classmethod
def fromnid(cls, nid: int) -> Self: ...
@classmethod