diff options
author | Georg Brandl <georg@python.org> | 2008-05-11 21:03:42 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-11 21:03:42 (GMT) |
commit | 627a666db05a0a70ac54fe6456719ee0530b5df7 (patch) | |
tree | 7dbd04460e4d144c8e06c1163c75599a17df25e8 /Doc/library/rlcompleter.rst | |
parent | ecbbd94e71d5e7dcf68d344f77b7a24331823dfc (diff) | |
download | cpython-627a666db05a0a70ac54fe6456719ee0530b5df7.zip cpython-627a666db05a0a70ac54fe6456719ee0530b5df7.tar.gz cpython-627a666db05a0a70ac54fe6456719ee0530b5df7.tar.bz2 |
- #2250: Exceptions raised during evaluation of names in rlcompleter's
``Completer.complete()`` method are now caught and ignored.
Diffstat (limited to 'Doc/library/rlcompleter.rst')
-rw-r--r-- | Doc/library/rlcompleter.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/rlcompleter.rst b/Doc/library/rlcompleter.rst index b882cb0..6816d39 100644 --- a/Doc/library/rlcompleter.rst +++ b/Doc/library/rlcompleter.rst @@ -61,5 +61,6 @@ Completer objects have the following method: If called for a dotted name, it will try to evaluate anything without obvious side-effects (functions will not be evaluated, but it can generate calls to :meth:`__getattr__`) up to the last part, and find matches for the rest via the - :func:`dir` function. + :func:`dir` function. Any exception raised during the evaluation of the + expression is caught, silenced and :const:`None` is returned. |