[Python-checkins] r82028 - in python/branches/py3k: Doc/library/http.server.rst
senthil.kumaran
python-checkins at python.org
Wed Jun 16 19:44:58 CEST 2010
Author: senthil.kumaran
Date: Wed Jun 16 19:44:57 2010
New Revision: 82028
Log:
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.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/library/http.server.rst
Modified: python/branches/py3k/Doc/library/http.server.rst
==============================================================================
--- python/branches/py3k/Doc/library/http.server.rst (original)
+++ python/branches/py3k/Doc/library/http.server.rst Wed Jun 16 19:44:57 2010
@@ -301,8 +301,10 @@
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
More information about the Python-checkins
mailing list