summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-02-06 03:37:23 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-02-06 03:37:23 (GMT)
commitb6213c5664cf983ae67059a41520af1aaeeb52c3 (patch)
treeb2e32c82f22a8b7ef0fd30ecb27563e9b26bc61f /Doc/howto
parenta03702252f591e477db0576bea589d21afdfa601 (diff)
downloadcpython-b6213c5664cf983ae67059a41520af1aaeeb52c3.zip
cpython-b6213c5664cf983ae67059a41520af1aaeeb52c3.tar.gz
cpython-b6213c5664cf983ae67059a41520af1aaeeb52c3.tar.bz2
Fix userinfo example presented in urllib2 howto.
Diffstat (limited to 'Doc/howto')
-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 9052ed5..7d5044b 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.