FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue #11068 : Cleanup extra logic that handle python <=3.3 in IPytho… · krassowski/ipython@29ef2a0 · GitHub

Repository navigation

Commit 29ef2a0

Browse files
authored andcommitted
Issue ipython#11068 : Cleanup extra logic that handle python <=3.3 in IPython/utils/openpy.py
1 parent 01bd59e commit 29ef2a0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎IPython/utils/openpy.py‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,4 @@ def readline():
114114
return readline
115115

116116
# Code for going between .py files and cached .pyc files ----------------------
117-
try:
118-
from importlib.util import source_from_cache, cache_from_source
119-
except ImportError :
120-
## deprecated since 3.4
121-
from imp import source_from_cache, cache_from_source
117+
from importlib.util import source_from_cache, cache_from_source

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL