summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.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/urllib.request.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/urllib.request.rst')
-rw-r--r--Doc/library/urllib.request.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 59e1f2d..64cc9c3 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -1630,7 +1630,7 @@ The typical response object is a :class:`urllib.response.addinfourl` instance:
.. deprecated:: 3.9
Deprecated in favor of :attr:`~addinfourl.status`.
- .. method:: getstatus()
+ .. method:: getcode()
.. deprecated:: 3.9
Deprecated in favor of :attr:`~addinfourl.status`.