[Python-checkins] r82964 - in python/branches/py3k: Doc/library/pdb.rst Lib/pdb.py

georg.brandl python-checkins at python.org
Mon Jul 19 10:02:46 CEST 2010


Author: georg.brandl
Date: Mon Jul 19 10:02:46 2010
New Revision: 82964

Log:
pydoc.pager does not promise to use $PAGER.

Modified:
   python/branches/py3k/Doc/library/pdb.rst
   python/branches/py3k/Lib/pdb.py

Modified: python/branches/py3k/Doc/library/pdb.rst
==============================================================================
--- python/branches/py3k/Doc/library/pdb.rst	(original)
+++ python/branches/py3k/Doc/library/pdb.rst	Mon Jul 19 10:02:46 2010
@@ -207,10 +207,9 @@
 
    Without argument, print the list of available commands.  With a *command* as
    argument, print help about that command.  ``help pdb`` displays the full
-   documentation (the docstring of the :mod:`pdb` module); if the environment
-   variable :envvar:`PAGER` is defined, the string is piped through that command
-   instead.  Since the *command* argument must be an identifier, ``help exec``
-   must be entered to get help on the ``!`` command.
+   documentation (the docstring of the :mod:`pdb` module).  Since the *command*
+   argument must be an identifier, ``help exec`` must be entered to get help on
+   the ``!`` command.
 
 .. pdbcommand:: w(here)
 

Modified: python/branches/py3k/Lib/pdb.py
==============================================================================
--- python/branches/py3k/Lib/pdb.py	(original)
+++ python/branches/py3k/Lib/pdb.py	Mon Jul 19 10:02:46 2010
@@ -1123,7 +1123,7 @@
         print("""h(elp)
 Without argument, print the list of available commands.
 With a command name as argument, print help about that command
-"help pdb" pipes the full documentation file to the $PAGER
+"help pdb" shows the full pdb documentation
 "help exec" gives help on the ! command""", file=self.stdout)
 
     def help_where(self):


More information about the Python-checkins mailing list