Blame SOURCES/00001-pydocnogui.patch

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