##// END OF EJS Templates
Allow cell mode timeit without setup code.
Tony S Yu -
Show More
@@ -750,7 +750,7 b' python-profiler package from non-free.""")'
750
750
751 opts, stmt = self.parse_options(line,'n:r:tcp:',
751 opts, stmt = self.parse_options(line,'n:r:tcp:',
752 posix=False, strict=False)
752 posix=False, strict=False)
753 if stmt == "":
753 if stmt == "" and cell is None:
754 return
754 return
755 timefunc = timeit.default_timer
755 timefunc = timeit.default_timer
756 number = int(getattr(opts, "n", 0))
756 number = int(getattr(opts, "n", 0))
General Comments 0
You need to be logged in to leave comments. Login now