On Fri, Jan 3, 2014 at 3:00 PM, Roy Smith <r...@panix.com> wrote: > I do this all the time: > > t0 = time.time() > [some code] > t1 = time.time() > dt = t1 = t0 # <-- spot the typo?
Yep, I see that... now that it's pointed out as a typo. Without the marker, I'd assume it's correct chained assignment, and only an examination of the name (dt = delta t) hints otherwise. ChrisA -- https://mail.python.org/mailman/listinfo/python-list