##// END OF EJS Templates
Ensures that ipython-complete is called....
Ensures that ipython-complete is called. python-mode defines a key-binding for the tab key for its own completion function (py-shell-complete) if that one wins, then py-shell-complete will hang emacs as it tries to communicate with the python shell process which does not exist. This uses def-advice to instead call ipython-complete when py-shell-complete is called.

File last commit:

r4669:45cf1867
r5340:4a983cae
Show More
__init__.py
11 lines | 319 B | text/x-python | PythonLexer
try:
import argparse
# don't use system argparse if older than 1.1:
if argparse.__version__ < '1.1':
raise ImportError
else:
from argparse import *
from argparse import SUPPRESS
except (ImportError, AttributeError):
from _argparse import *
from _argparse import SUPPRESS