-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
sage: %time [1..10]
------------------------------------------------------------
File "<timed exec>", line 1
[1..10]
^
<type 'exceptions.SyntaxError'>: invalid syntax
sage: %timeit [1..10]
------------------------------------------------------------
File "<magic-timeit>", line 6
[1..10]
^
<type 'exceptions.SyntaxError'>: invalid syntax
sage: %timeit xrange(11)
1000000 loops, best of 3: 392 ns per loop
Component: user interface
Keywords: timeit ipython
Author: Mike Hansen
Reviewer: Jason Grout
Merged: sage-4.3.1.rc1
Issue created by migration from https://trac.sagemath.org/ticket/797