From 4af283e1aca6fc44a3b0d0b2e8a5d58f1f968cea Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Tue, 2 Jul 2019 23:52:59 -0700 Subject: [PATCH] Fix HTTPConnection.putrequest parameter names (#3101) --- stdlib/3/http/client.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/http/client.pyi b/stdlib/3/http/client.pyi index 5528b0150..687ca8ac6 100644 --- a/stdlib/3/http/client.pyi +++ b/stdlib/3/http/client.pyi @@ -181,7 +181,7 @@ class HTTPConnection: headers: Optional[Mapping[str, str]] = ...) -> None: ... def connect(self) -> None: ... def close(self) -> None: ... - def putrequest(self, request: str, selector: str, skip_host: bool = ..., + def putrequest(self, method: str, url: str, skip_host: bool = ..., skip_accept_encoding: bool = ...) -> None: ... def putheader(self, header: str, *argument: str) -> None: ... if sys.version_info >= (3, 6):