diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-06-16 17:44:57 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-06-16 17:44:57 (GMT) |
commit | 294f27141f170a09916341a8fcc49903b8e4359e (patch) | |
tree | 4098ce5b78345a790a1c84892e8917e465c5f844 /Doc/library/http.server.rst | |
parent | 97db43b6cc1f7c7e16ab09b908bbeaedb000cfe3 (diff) | |
download | cpython-294f27141f170a09916341a8fcc49903b8e4359e.zip cpython-294f27141f170a09916341a8fcc49903b8e4359e.tar.gz cpython-294f27141f170a09916341a8fcc49903b8e4359e.tar.bz2 |
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/http.server.rst')
-rw-r--r-- | Doc/library/http.server.rst | 6 |
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 |