diff options
author | Georg Brandl <georg@python.org> | 2012-03-10 21:36:48 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-03-10 21:36:48 (GMT) |
commit | 4c7c3c58be26e60dfe826da63bd4cac513cfdf83 (patch) | |
tree | 72dd53ae277f4a8a64de23139e088b832111fdba /Doc | |
parent | a08e7e1c5d280d87b77b2b49b785a5eadcca93c1 (diff) | |
download | cpython-4c7c3c58be26e60dfe826da63bd4cac513cfdf83.zip cpython-4c7c3c58be26e60dfe826da63bd4cac513cfdf83.tar.gz cpython-4c7c3c58be26e60dfe826da63bd4cac513cfdf83.tar.bz2 |
Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/pdb.rst | 5 | ||||
-rw-r--r-- | Doc/whatsnew/3.3.rst | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 1e9de63..f4e37ac 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -38,6 +38,11 @@ of the debugger is:: > <string>(1)?() (Pdb) +.. versionchanged:: 3.3 + Tab-completion via the :mod:`readline` module is available for commands and + command arguments, e.g. the current global and local names are offered as + arguments of the ``print`` command. + :file:`pdb.py` can also be invoked as a script to debug other scripts. For example:: diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index bccb40d..26c42b5 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -777,6 +777,14 @@ name :mod:`distutils2`. .. TODO add examples and howto to the packaging docs and link to them +pdb +--- + +* Tab-completion is now available not only for command names, but also their + arguments. For example, for the ``break`` command, function and file names + are completed. (Contributed by Georg Brandl in :issue:`14210`) + + pydoc ----- |