]> granicus.if.org Git - python/commit
Issue 9941: Minor code cleanup before implementing the context manager feature:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Mon, 27 Sep 2010 15:49:20 +0000 (15:49 +0000)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Mon, 27 Sep 2010 15:49:20 +0000 (15:49 +0000)
commit0ae33611faba57f650b5083df6eebd655457f687
tree54379052bb475f0953c3df8cf7880dd2b1bb9aa0
parent76ca3b430c402341e91b04de0d801e754021401b
Issue 9941: Minor code cleanup before implementing the context manager feature:
  - Eliminated code repetition between run and runctx;
  - Removed redundant calls to dict.key;
  - Removed unused "blabbed" attribute;
  - Simplified the loop in  write_results_file().
Lib/trace.py