]> granicus.if.org Git - python/commit
Implement some recommendations from Raymond H:
authorGuido van Rossum <guido@python.org>
Fri, 14 Mar 2003 17:21:00 +0000 (17:21 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Mar 2003 17:21:00 +0000 (17:21 +0000)
commit538f1d842c3dfeff279c084d616c03113ec5dd94
tree4c9768105507ad94ef7e575a4e845b1ae00f556d
parent0834d77bc4f07e5632588ed636b6db21e87694cc
Implement some recommendations from Raymond H:

- Make all local variables in the template start with an underscore,
  to prevent name conflicts with the timed code.

- Added a method to print a traceback that shows source lines from the
  expanded template.

- Use that method in main().
Lib/timeit.py