What happens in timeit, stays in timeit This seems like a bug. I want to time a function, but still want the function to have occurred. If this is the right behavior, where is it documented?
In [8]:
myname = 'what?'
print(myname)
In [11]:
%%timeit
myname = 'Sim Shady'
In [12]:
print(myname)
huh?
In [7]:
%lsmagic
Out[7]:
In [ ]: