From 0fbe70f709196a12462f1417d559f3436ce2b4d5 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Wed, 16 Nov 2022 13:23:50 +0400 Subject: [PATCH] Fix urllib3 Url.port type (#9208) --- stubs/urllib3/urllib3/util/url.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/urllib3/urllib3/util/url.pyi b/stubs/urllib3/urllib3/util/url.pyi index 91a36abb9..fe98d2a1c 100644 --- a/stubs/urllib3/urllib3/util/url.pyi +++ b/stubs/urllib3/urllib3/util/url.pyi @@ -11,7 +11,7 @@ class _UrlBase(NamedTuple): fragment: str | None host: str | None path: str | None - port: str | None + port: int | None query: str | None scheme: str | None @@ -21,7 +21,7 @@ class Url(_UrlBase): scheme: str | None = ..., auth: str | None = ..., host: str | None = ..., - port: str | None = ..., + port: int | None = ..., path: str | None = ..., query: str | None = ..., fragment: str | None = ...,