Blame SOURCES/00001-pydocnogui.patch

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