Skip to content

Commit 53d5ee5

Browse files
stdlib: HTTPSConnection(port=) is int|None (#11058)
Fix an apparent typo in the type of this field. Closes #11057
1 parent 06d0151 commit 53d5ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/http/client.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class HTTPSConnection(HTTPConnection):
187187
def __init__(
188188
self,
189189
host: str,
190-
port: str | None = None,
190+
port: int | None = None,
191191
*,
192192
timeout: float | None = ...,
193193
source_address: tuple[str, int] | None = None,

0 commit comments

Comments
 (0)