summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.client.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-02-10 18:46:12 (GMT)
committerGitHub <noreply@github.com>2023-02-10 18:46:12 (GMT)
commit61f2be08661949e2f6dfc94143436297e60d47de (patch)
tree218ec9e2b85b81e1551bf2a9303ba67bd392d853 /Doc/library/http.client.rst
parent2037ebf81bd4bbe5421421b822bd57cfd665a1e9 (diff)
downloadcpython-61f2be08661949e2f6dfc94143436297e60d47de.zip
cpython-61f2be08661949e2f6dfc94143436297e60d47de.tar.gz
cpython-61f2be08661949e2f6dfc94143436297e60d47de.tar.bz2
Docs: Fix getstatus() -> getcode() typos (#101296)
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r--Doc/library/http.client.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 4858221..ad34161 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -532,7 +532,7 @@ statement.
.. deprecated:: 3.9
Deprecated in favor of :attr:`~HTTPResponse.headers`.
-.. method:: HTTPResponse.getstatus()
+.. method:: HTTPResponse.getcode()
.. deprecated:: 3.9
Deprecated in favor of :attr:`~HTTPResponse.status`.