aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-02-05 19:37:23 -0800
committerSenthil Kumaran <senthil@uthcode.com>2016-02-05 19:37:23 -0800
commitb6213c5664cf983ae67059a41520af1aaeeb52c3 (patch)
treeb2e32c82f22a8b7ef0fd30ecb27563e9b26bc61f /Doc/howto/urllib2.rst
parentIssue #12923: Reset FancyURLopener's redirect counter even on exception (diff)
downloadcpython-b6213c5664cf983ae67059a41520af1aaeeb52c3.tar.gz
cpython-b6213c5664cf983ae67059a41520af1aaeeb52c3.tar.bz2
cpython-b6213c5664cf983ae67059a41520af1aaeeb52c3.zip
Fix userinfo example presented in urllib2 howto.
Diffstat (limited to 'Doc/howto/urllib2.rst')
-rw-r--r--Doc/howto/urllib2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index 9052ed59b00..7d5044b3191 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -514,7 +514,7 @@ component and the hostname and optionally the port number)
e.g. "http://example.com/" *or* an "authority" (i.e. the hostname,
optionally including the port number) e.g. "example.com" or "example.com:8080"
(the latter example includes a port number). The authority, if present, must
-NOT contain the "userinfo" component - for example "joe@password:example.com" is
+NOT contain the "userinfo" component - for example "joe:password@example.com" is
not correct.