summaryrefslogtreecommitdiffstats
path: root/Doc/library/rlcompleter.rst
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-07-02 16:52:55 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2008-07-02 16:52:55 (GMT)
commit66c527755d0f751e4239328558082bf22f52d361 (patch)
tree3baf2dd3b7dc2aa79c29bda4e0a7e29d24f2353b /Doc/library/rlcompleter.rst
parent146b7ab818cadccf91ad98e64cfefb77705da0ca (diff)
downloadcpython-66c527755d0f751e4239328558082bf22f52d361.zip
cpython-66c527755d0f751e4239328558082bf22f52d361.tar.gz
cpython-66c527755d0f751e4239328558082bf22f52d361.tar.bz2
Issue #449227: Now with the rlcompleter module, callable objects are
added a '(' when completed.
Diffstat (limited to 'Doc/library/rlcompleter.rst')
-rw-r--r--Doc/library/rlcompleter.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/rlcompleter.rst b/Doc/library/rlcompleter.rst
index 6816d39..060f296 100644
--- a/Doc/library/rlcompleter.rst
+++ b/Doc/library/rlcompleter.rst
@@ -20,9 +20,9 @@ Example::
>>> import readline
>>> readline.parse_and_bind("tab: complete")
>>> readline. <TAB PRESSED>
- readline.__doc__ readline.get_line_buffer readline.read_init_file
- readline.__file__ readline.insert_text readline.set_completer
- readline.__name__ readline.parse_and_bind
+ readline.__doc__ readline.get_line_buffer( readline.read_init_file(
+ readline.__file__ readline.insert_text( readline.set_completer(
+ readline.__name__ readline.parse_and_bind(
>>> readline.
The :mod:`rlcompleter` module is designed for use with Python's interactive