We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207fa11 commit 2e7ff1fCopy full SHA for 2e7ff1f
Doc/library/http.client.rst
@@ -528,7 +528,7 @@ statement.
528
.. deprecated:: 3.9
529
Deprecated in favor of :attr:`~HTTPResponse.headers`.
530
531
-.. method:: HTTPResponse.getstatus()
+.. method:: HTTPResponse.getcode()
532
533
534
Deprecated in favor of :attr:`~HTTPResponse.status`.
Doc/library/urllib.request.rst
@@ -1619,7 +1619,7 @@ The typical response object is a :class:`urllib.response.addinfourl` instance:
1619
1620
Deprecated in favor of :attr:`~addinfourl.status`.
1621
1622
- .. method:: getstatus()
+ .. method:: getcode()
1623
1624
1625
0 commit comments