Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61aebca

Browse files
committed
pydoc: Remove mention of '-g' command line option, document its removal.
1 parent 5b53507 commit 61aebca

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Doc/library/pydoc.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ will start a HTTP server on port 1234, allowing you to browse the
6666
documentation at ``http://localhost:1234/`` in your preferred Web browser.
6767
Specifying ``0`` as the port number will select an arbitrary unused port.
6868

69-
:program:`pydoc -g` will start the server and additionally bring up a
70-
small :mod:`tkinter`\ -based graphical interface to help you search for
71-
documentation pages. The ``-g`` option is deprecated, since the server can
72-
now be controlled directly from HTTP clients.
73-
7469
:program:`pydoc -b` will start the server and additionally open a web
7570
browser to a module index page. Each served page has a navigation bar at the
7671
top where you can *Get* help on an individual item, *Search* all modules with a
@@ -90,7 +85,10 @@ to a different URL or to a local directory containing the Library
9085
Reference Manual pages.
9186

9287
.. versionchanged:: 3.2
93-
Added the ``-b`` option, deprecated the ``-g`` option.
88+
Added the ``-b`` option.
89+
90+
.. versionchanged:: 3.3
91+
The ``-g`` command line option was removed.
9492

9593
.. versionchanged:: 3.4
9694
:mod:`pydoc` now uses :func:`inspect.signature` rather than

0 commit comments

Comments
 (0)