[Python-checkins] cpython (2.7): Fix userinfo example presented in urllib2 howto.

senthil.kumaran python-checkins at python.org
Fri Feb 5 22:36:19 EST 2016


https://hg.python.org/cpython/rev/a2a9ff290cb2
changeset:   100168:a2a9ff290cb2
branch:      2.7
parent:      100164:4e262cecd962
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Fri Feb 05 19:35:57 2016 -0800
summary:
  Fix userinfo example presented in urllib2 howto.

files:
  Doc/howto/urllib2.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -499,7 +499,7 @@
 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 at password:example.com" is
+NOT contain the "userinfo" component - for example "joe:password at example.com" is
 not correct.
 
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list