1
0
forked from VimPlug/jedi

Document utils.setup_readline

This commit is contained in:
Takafumi Arakaki
2013-05-18 23:41:15 +02:00
parent 134dab174d
commit 27f8b342e1

View File

@@ -28,6 +28,14 @@ def readline_complete(text, state):
def setup_readline():
"""
Install Jedi completer to :mod:`readline`.
This function setups :mod:`readline` to use Jedi in Python interactive
shell. If you want to use custom ``PYTHONSTARTUP`` file, you can call
this function like this:
>>> from jedi.utils import setup_readline
>>> setup_readline()
"""
try:
import readline