summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_repr.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-03 00:50:18 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-03 00:50:18 (GMT)
commitda21c0110b1948d4b3e0593e06436a2a5582f366 (patch)
tree1a95b0f40e59db48b855d86443d18ca60244b9b0 /Lib/test/test_repr.py
parented554f6fc70416a726cd4abc44268dea4bf031e4 (diff)
downloadcpython-da21c0110b1948d4b3e0593e06436a2a5582f366.zip
cpython-da21c0110b1948d4b3e0593e06436a2a5582f366.tar.gz
cpython-da21c0110b1948d4b3e0593e06436a2a5582f366.tar.bz2
call_method(), call_maybe(): fix a performance bug: the argument
pointing to a static variable to hold the object form of the string was never used, causing endless calls to PyString_InternFromString(). One particular test (with lots of __getitem__ calls) became a third faster with this!
Diffstat (limited to 'Lib/test/test_repr.py')
0 files changed, 0 insertions, 0 deletions