summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-06-16 17:47:48 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-06-16 17:47:48 (GMT)
commitefc3a384dd6e8c9775295af11dae798f0d36371b (patch)
treeee743f70314276614853ac9f3566531b97fd0a48 /Doc/library
parent322db0d3582faadc25b349edf77650b65db46fb7 (diff)
downloadcpython-efc3a384dd6e8c9775295af11dae798f0d36371b.zip
cpython-efc3a384dd6e8c9775295af11dae798f0d36371b.tar.gz
cpython-efc3a384dd6e8c9775295af11dae798f0d36371b.tar.bz2
Merged revisions 82028 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r82028 | senthil.kumaran | 2010-06-16 23:14:57 +0530 (Wed, 16 Jun 2010) | 9 lines Merged revisions 82026 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r82026 | senthil.kumaran | 2010-06-16 23:07:32 +0530 (Wed, 16 Jun 2010) | 3 lines Addressing RDM's review comments on the doc change. ........ ................
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/http.server.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 3d15b9e..5fdb543 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -301,8 +301,10 @@ relative to the current directory.::
httpd.serve_forever()
:mod:`http.server` can also be invoked directly using the ``-m`` switch of
-interpreter a with ``port number`` argument which interfaces
-:class:`SimpleHTTPRequestHandler` by default.::
+interpreter a with ``port number`` argument which uses
+:class:`SimpleHTTPRequestHandler` as the default request Handler. Similar to
+the previous example, even this serves files relative to the current
+directory.::
python -m http.server 8000