mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Remove ssl_match_hostname from pyright exclude (#9116)
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
"stdlib/xml/sax",
|
||||
"stubs/aws-xray-sdk",
|
||||
"stubs/babel",
|
||||
"stubs/backports.ssl_match_hostname",
|
||||
"stubs/bleach",
|
||||
"stubs/boto",
|
||||
"stubs/beautifulsoup4",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
from ssl import _PeerCertRetDictType
|
||||
|
||||
class CertificateError(ValueError): ...
|
||||
|
||||
def match_hostname(cert, hostname): ...
|
||||
def match_hostname(cert: _PeerCertRetDictType, hostname: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user