]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix userinfo example presented in urllib2 howto.
authorSenthil Kumaran <senthil@uthcode.com>
Sat, 6 Feb 2016 03:35:57 +0000 (19:35 -0800)
committerSenthil Kumaran <senthil@uthcode.com>
Sat, 6 Feb 2016 03:35:57 +0000 (19:35 -0800)
Doc/howto/urllib2.rst

index cccbc54169b36dff9e4443ff382c5cad380b81ed..30763a26a52dc18f5c1cb39469589c51eea19ff7 100644 (file)
@@ -499,7 +499,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.