summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.error.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/urllib.error.rst')
-rw-r--r--Doc/library/urllib.error.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/urllib.error.rst b/Doc/library/urllib.error.rst
index 714ee47..282329f 100644
--- a/Doc/library/urllib.error.rst
+++ b/Doc/library/urllib.error.rst
@@ -39,7 +39,7 @@ The following exceptions are raised by :mod:`urllib.error` as appropriate:
to a value found in the dictionary of codes as found in
:attr:`http.server.BaseHTTPRequestHandler.responses`.
-.. exception:: ContentTooShortError(msg[, content])
+.. exception:: ContentTooShortError(msg, content)
This exception is raised when the :func:`urlretrieve` function detects that
the amount of the downloaded data is less than the expected amount (given by