summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_htmlparser.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-17 22:25:34 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-17 22:25:34 (GMT)
commit1928314ef470e038b104162735eb3fa752ea9ba0 (patch)
treeb5a301b1fc8c80dff4ed20a0209161d320e1896d /Lib/test/test_htmlparser.py
parentb686791b77dbd3394186b2c36e8f5aa6e1c7e734 (diff)
downloadcpython-1928314ef470e038b104162735eb3fa752ea9ba0.zip
cpython-1928314ef470e038b104162735eb3fa752ea9ba0.tar.gz
cpython-1928314ef470e038b104162735eb3fa752ea9ba0.tar.bz2
Speed dictresize by collapsing its two passes into one; the reason given
in the comments for using two passes was bogus, as the only object that can get decref'ed due to the copy is the dummy key, and decref'ing dummy can't have side effects (for one thing, dummy is immortal! for another, it's a string object, not a potentially dangerous user-defined object).
Diffstat (limited to 'Lib/test/test_htmlparser.py')
0 files changed, 0 insertions, 0 deletions