Senthil Kumaran avatar Senthil Kumaran committed c6845e8

Addressing RDM's review comments on the doc change.

Comments (0)

Files changed (1)

Doc/library/simplehttpserver.rst

       ``text/`` the file is opened in text mode; otherwise binary mode is used.
 
       The :func:`test` function in the :mod:`SimpleHTTPServer` module is an
-      example which interfaces the :class:`SimpleHTTPRequestHandler` as a
-      Handler to the :mod:`BaseHTTPServer` module.
+      example which creates a server using the
+      :class:`SimpleHTTPRequestHandler` as the Handler.
 
       .. versionadded:: 2.5
          The ``'Last-Modified'`` header.
 
 
 The :mod:`SimpleHTTPServer` module can be used the following manner in order to
-setup a very basic web server serving files relative to the current directory.::
+set up a very basic web server serving files relative to the current
+directory.::
 
         import SimpleHTTPServer
         import SocketServer
         print "serving at port", PORT
         httpd.serve_forever()
 
-It can also be invoked directly using the ``-m`` switch of interpreter a with
-``port number`` argument.::
+:mod:`SimpleHTTPServer` module can also be invoked directly using the ``-m``
+switch of interpreter with a ``port number`` argument. Similar to previous
+example, this serves the files relative to the current directory.::
 
         python -m SimpleHTTPServer 8000
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.