stdlib: HTTPSConnection(port=) is int|None (#11058)

Fix an apparent typo in the type of this field.

Closes #11057
This commit is contained in:
Allison Karlitskaya
2023-11-22 18:20:33 +01:00
committed by GitHub
parent 06d0151b25
commit 53d5ee5a78

View File

@@ -187,7 +187,7 @@ class HTTPSConnection(HTTPConnection):
def __init__(
self,
host: str,
port: str | None = None,
port: int | None = None,
*,
timeout: float | None = ...,
source_address: tuple[str, int] | None = None,