1
0
forked from VimPlug/jedi

Don't format the code to go in .pythonrc.py in a doctest

This is way too confusing. You don't put doctests in files, you put code in
files.
This commit is contained in:
Aaron Meurer
2013-08-10 00:42:00 -06:00
parent f2ffa037da
commit 396e19c2fd

View File

@@ -14,13 +14,13 @@ def setup_readline():
This function setups :mod:`readline` to use Jedi in Python interactive
shell. If you want to use a custom ``PYTHONSTARTUP`` file (typically
``$HOME/.pythonrc.py``), you can add this piece of code:
``$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.')
try:
from jedi.utils import setup_readline
setup_readline()
except ImportError:
print('Install Jedi with pip! No autocompletion otherwise.')
"""
try: