[Python-checkins] cpython (3.4): Correct the URL in the http.client example. Noted by Evens Fortuné. Closes
senthil.kumaran
python-checkins at python.org
Thu Apr 17 05:33:40 CEST 2014
http://hg.python.org/cpython/rev/57c66f85942d
changeset: 90374:57c66f85942d
branch: 3.4
parent: 90371:0413e0b1f76d
user: Senthil Kumaran <senthil at uthcode.com>
date: Wed Apr 16 23:33:02 2014 -0400
summary:
Correct the URL in the http.client example. Noted by Evens Fortuné. Closes #21229
files:
Doc/library/http.client.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -660,7 +660,7 @@
>>> # This creates an HTTP message
>>> # with the content of BODY as the enclosed representation
- >>> # for the resource http://localhost:8080/foobar
+ >>> # for the resource http://localhost:8080/file
...
>>> import http.client
>>> BODY = "***filecontents***"
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list