Blame SOURCES/00001-pydocnogui.patch

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