summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.error.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-29 05:48:10 (GMT)
committerGitHub <noreply@github.com>2023-07-29 05:48:10 (GMT)
commitf2d07d3289947d10b065b2bb7670c8fb6b6582f2 (patch)
tree4951b8b9118b548a868de6995c451aa33814dc1c /Doc/library/urllib.error.rst
parent413ba8943e2f1d896a0568eb571a041b88589440 (diff)
downloadcpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.zip
cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.tar.gz
cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.tar.bz2
gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386)
Diffstat (limited to 'Doc/library/urllib.error.rst')
-rw-r--r--Doc/library/urllib.error.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/urllib.error.rst b/Doc/library/urllib.error.rst
index 3adbdd2..a5bcb5b 100644
--- a/Doc/library/urllib.error.rst
+++ b/Doc/library/urllib.error.rst
@@ -72,6 +72,8 @@ The following exceptions are raised by :mod:`urllib.error` as appropriate:
This exception is raised when the :func:`~urllib.request.urlretrieve`
function detects that
the amount of the downloaded data is less than the expected amount (given by
- the *Content-Length* header). The :attr:`content` attribute stores the
- downloaded (and supposedly truncated) data.
+ the *Content-Length* header).
+ .. attribute:: content
+
+ The downloaded (and supposedly truncated) data.