Skip to content

Commit 7e8efb0

Browse files
author
armand
committed
Importing memory_profiler without importlib
1 parent eb2366c commit 7e8efb0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

mprof.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
from argparse import ArgumentParser, ArgumentError, REMAINDER, RawTextHelpFormatter
1414

1515
import importlib
16-
mp = importlib.import_module("memory_profiler", __file__)
17-
# import memory_profiler as mp
16+
import memory_profiler as mp
1817

1918
ALL_ACTIONS = ("run", "rm", "clean", "list", "plot")
2019
help_msg = """

0 commit comments

Comments
 (0)