Remove ssl_match_hostname from pyright exclude (#9116)

This commit is contained in:
Nikita Sobolev
2022-11-06 14:02:24 -08:00
committed by GitHub
parent 4bff3e240b
commit 5751b467e0
2 changed files with 3 additions and 2 deletions
@@ -1,3 +1,5 @@
from ssl import _PeerCertRetDictType
class CertificateError(ValueError): ...
def match_hostname(cert, hostname): ...
def match_hostname(cert: _PeerCertRetDictType, hostname: str) -> None: ...