Blame SOURCES/00001-pydocnogui.patch

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