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. ........ ................
This commit is contained in:
parent
322db0d358
commit
efc3a384dd
|
@ -301,8 +301,10 @@ relative to the current directory.::
|
||||||
httpd.serve_forever()
|
httpd.serve_forever()
|
||||||
|
|
||||||
:mod:`http.server` can also be invoked directly using the ``-m`` switch of
|
:mod:`http.server` can also be invoked directly using the ``-m`` switch of
|
||||||
interpreter a with ``port number`` argument which interfaces
|
interpreter a with ``port number`` argument which uses
|
||||||
:class:`SimpleHTTPRequestHandler` by default.::
|
: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
|
python -m http.server 8000
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue