From: Senthil Kumaran <orsenthil@gmail.com> Date: Wed, 16 Jun 2010 17:44:57 +0000 (+0000) Subject: Merged revisions 82026 via svnmerge from X-Git-Tag: v3.2a1~516 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=294f27141f170a09916341a8fcc49903b8e4359e;p=python 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. ........ --- diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 3d15b9eb88..5fdb543951 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