1fe57a
diff -up Python-2.7.3/Lib/pydoc.py.no_gui Python-2.7.3/Lib/pydoc.py
1fe57a
--- Python-2.7.3/Lib/pydoc.py.no_gui	2012-04-09 19:07:31.000000000 -0400
1fe57a
+++ Python-2.7.3/Lib/pydoc.py	2013-02-19 13:48:44.480054515 -0500
1fe57a
@@ -19,9 +19,6 @@ of all available modules.
1fe57a
 local machine to generate documentation web pages.  Port number 0 can be
1fe57a
 used to get an arbitrary unused port.
1fe57a
 
1fe57a
-For platforms without a command line, "pydoc -g" starts the HTTP server
1fe57a
-and also pops up a little window for controlling it.
1fe57a
-
1fe57a
 Run "pydoc -w <name>" to write out the HTML documentation for a module
1fe57a
 to a file named "<name>.html".
1fe57a
 
1fe57a
@@ -2346,13 +2340,10 @@ def cli():
1fe57a
     Start an HTTP server on the given port on the local machine.  Port
1fe57a
     number 0 can be used to get an arbitrary unused port.
1fe57a
 
1fe57a
-%s -g
1fe57a
-    Pop up a graphical interface for finding and serving documentation.
1fe57a
-
1fe57a
 %s -w <name> ...
1fe57a
     Write out the HTML documentation for a module to a file in the current
1fe57a
     directory.  If <name> contains a '%s', it is treated as a filename; if
1fe57a
     it names a directory, documentation is written for all the contents.
1fe57a
-""" % (cmd, os.sep, cmd, cmd, cmd, cmd, os.sep)
1fe57a
+""" % (cmd, os.sep, cmd, cmd, cmd, os.sep)
1fe57a
 
1fe57a
 if __name__ == '__main__': cli()