summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-19 08:02:46 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-19 08:02:46 (GMT)
commit55353ca6dca62069cddde136be6f13ca374fce5b (patch)
treef43db04d750e2cf828dec51a65e71e6fee7d54be
parent9cec307a1136b7d8ce7dc2c6fb2083526e599474 (diff)
downloadcpython-55353ca6dca62069cddde136be6f13ca374fce5b.zip
cpython-55353ca6dca62069cddde136be6f13ca374fce5b.tar.gz
cpython-55353ca6dca62069cddde136be6f13ca374fce5b.tar.bz2
pydoc.pager does not promise to use $PAGER.
-rw-r--r--Doc/library/pdb.rst7
-rwxr-xr-xLib/pdb.py2
2 files changed, 4 insertions, 5 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 9d57bbc..d8dc366 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -207,10 +207,9 @@ by the local file.
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)
diff --git a/Lib/pdb.py b/Lib/pdb.py
index b93a5af..5b12ffa 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -1123,7 +1123,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
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):