]> granicus.if.org Git - python/commitdiff
Fix userinfo example presented in urllib2 howto.
authorSenthil Kumaran <senthil@uthcode.com>
Sat, 6 Feb 2016 03:37:23 +0000 (19:37 -0800)
committerSenthil Kumaran <senthil@uthcode.com>
Sat, 6 Feb 2016 03:37:23 +0000 (19:37 -0800)
Doc/howto/urllib2.rst

index 9052ed59b007f37de4c6cf045a0fa903d494cea5..7d5044b319165d7568d3abf46c6a86d954af761d 100644 (file)
@@ -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.