diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 3d15b9eb887..5fdb5439510 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