diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-02-10 22:26:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 22:26:34 (GMT) |
commit | 2e7ff1fcf67dcbcf872c699d95cc8b01771c0698 (patch) | |
tree | 3bb4ba301f6cca2a3c4b427d817fde99d10ec2d7 /Doc/library/urllib.request.rst | |
parent | 207fa11febbe0438d9c12be5353003d3c19f60c3 (diff) | |
download | cpython-2e7ff1fcf67dcbcf872c699d95cc8b01771c0698.zip cpython-2e7ff1fcf67dcbcf872c699d95cc8b01771c0698.tar.gz cpython-2e7ff1fcf67dcbcf872c699d95cc8b01771c0698.tar.bz2 |
Docs: Fix getstatus() -> getcode() typos (GH-101296)
(cherry picked from commit 61f2be08661949e2f6dfc94143436297e60d47de)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r-- | Doc/library/urllib.request.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 9c2c37a..7659d80 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -1619,7 +1619,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`. |