Skip to content

Commit

Permalink
Correct backport of PR #4928
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Jan 29, 2014
1 parent 2696571 commit 822a952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/core/completerlib.py
Expand Up @@ -57,7 +57,7 @@
import_re = re.compile(r'(?P<name>[a-zA-Z_][a-zA-Z0-9_]*?)'
r'(?P<package>[/\\]__init__)?'
r'(?P<suffix>%s)$' %
r'|'.join(re.escape(s[0]) for s in _suffixes))
r'|'.join(re.escape(s) for s in _suffixes))

# RE for the ipython %run command (python + ipython scripts)
magic_run_re = re.compile(r'.*(\.ipy|\.py[w]?)$')
Expand Down

0 comments on commit 822a952

Please sign in to comment.