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 2037ebf commit 61f2be0Copy full SHA for 61f2be0
Doc/library/http.client.rst
@@ -532,7 +532,7 @@ statement.
532
.. deprecated:: 3.9
533
Deprecated in favor of :attr:`~HTTPResponse.headers`.
534
535
-.. method:: HTTPResponse.getstatus()
+.. method:: HTTPResponse.getcode()
536
537
538
Deprecated in favor of :attr:`~HTTPResponse.status`.
Doc/library/urllib.request.rst
@@ -1630,7 +1630,7 @@ The typical response object is a :class:`urllib.response.addinfourl` instance:
1630
1631
Deprecated in favor of :attr:`~addinfourl.status`.
1632
1633
- .. method:: getstatus()
+ .. method:: getcode()
1634
1635
1636
0 commit comments