8000
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 8360988 commit c485f0eCopy full SHA for c485f0e
Doc/library/http.client.rst
@@ -530,7 +530,7 @@ statement.
530
.. deprecated:: 3.9
531
Deprecated in favor of :attr:`~HTTPResponse.headers`.
532
533
-.. method:: HTTPResponse.getstatus()
+.. method:: HTTPResponse.getcode()
534
535
536
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