Remove ssl_match_hostname from pyright exclude (#9116)

This commit is contained in:
Nikita Sobolev
2022-11-07 01:02:24 +03:00
committed by GitHub
parent 4bff3e240b
commit 5751b467e0
2 changed files with 3 additions and 2 deletions

View File

@@ -23,7 +23,6 @@
"stdlib/xml/sax",
"stubs/aws-xray-sdk",
"stubs/babel",
"stubs/backports.ssl_match_hostname",
"stubs/bleach",
"stubs/boto",
"stubs/beautifulsoup4",

View File

@@ -1,3 +1,5 @@
from ssl import _PeerCertRetDictType
class CertificateError(ValueError): ...
def match_hostname(cert, hostname): ...
def match_hostname(cert: _PeerCertRetDictType, hostname: str) -> None: ...