mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 02:27:06 +08:00
fix doctest problem
This commit is contained in:
@@ -97,10 +97,10 @@ def setup_readline():
|
||||
``$HOME/.pythonrc.py``), you can add this piece of code:
|
||||
|
||||
>>> try:
|
||||
>>> from jedi.utils import setup_readline
|
||||
>>> setup_readline()
|
||||
>>> except ImportError:
|
||||
>>> print('Install Jedi with pip! No autocompletion otherwise.')
|
||||
... from jedi.utils import setup_readline
|
||||
... setup_readline()
|
||||
... except ImportError:
|
||||
... print('Install Jedi with pip! No autocompletion otherwise.')
|
||||
|
||||
"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user