churchyard / rpms / python2

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