diff options
-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 |