Show More
@@ -19,16 +19,8 b' import math' | |||||
19 | import re |
|
19 | import re | |
20 | from pdb import Restart |
|
20 | from pdb import Restart | |
21 |
|
21 | |||
22 | # cProfile was added in Python2.5 |
|
22 | import cProfile as profile | |
23 | try: |
|
23 | import pstats | |
24 | import cProfile as profile |
|
|||
25 | import pstats |
|
|||
26 | except ImportError: |
|
|||
27 | # profile isn't bundled by default in Debian for license reasons |
|
|||
28 | try: |
|
|||
29 | import profile, pstats |
|
|||
30 | except ImportError: |
|
|||
31 | profile = pstats = None |
|
|||
32 |
|
24 | |||
33 | from IPython.core import oinspect |
|
25 | from IPython.core import oinspect | |
34 | from IPython.core import magic_arguments |
|
26 | from IPython.core import magic_arguments |
General Comments 0
You need to be logged in to leave comments.
Login now