churchyard / rpms / python2

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