Show More
@@ -776,6 +776,10 b' python-profiler package from non-free.""")' | |||||
776 | posix=False, strict=False) |
|
776 | posix=False, strict=False) | |
777 | if stmt == "" and cell is None: |
|
777 | if stmt == "" and cell is None: | |
778 | return |
|
778 | return | |
|
779 | elif cell == '': | |||
|
780 | warn("Empty cell. Did you mean to use %timeit?") | |||
|
781 | return | |||
|
782 | ||||
779 | timefunc = timeit.default_timer |
|
783 | timefunc = timeit.default_timer | |
780 | number = int(getattr(opts, "n", 0)) |
|
784 | number = int(getattr(opts, "n", 0)) | |
781 | repeat = int(getattr(opts, "r", timeit.default_repeat)) |
|
785 | repeat = int(getattr(opts, "r", timeit.default_repeat)) |
General Comments 0
You need to be logged in to leave comments.
Login now