diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-12-11 21:28:32 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-12-11 21:28:32 (GMT) |
commit | 89f1d6c04ee3f80535f89434bebafa73720e39f2 (patch) | |
tree | 3d1e9fe58fd9dc8fa2e7cfdaf0ebe2e9e7a73262 /Doc/texinputs | |
parent | 135594648fce77f748f01146f1f04b05172b0c57 (diff) | |
download | cpython-89f1d6c04ee3f80535f89434bebafa73720e39f2.zip cpython-89f1d6c04ee3f80535f89434bebafa73720e39f2.tar.gz cpython-89f1d6c04ee3f80535f89434bebafa73720e39f2.tar.bz2 |
Fix one bug and reformat lots of code.
The bug is a reference to co_first_lineno that should be
co_firstlineno. The only other substantial change is to speed up
localtrace_count() by avoiding *costly* calls to inspect module.
It's trivial to get the filename and lineno directly from the frame.
Otherwise, delete commented out debug code and reflow very long lines.
Diffstat (limited to 'Doc/texinputs')
0 files changed, 0 insertions, 0 deletions