summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-29 18:51:41 +0000
committerFred Drake <fdrake@acm.org>2001-05-29 18:51:41 +0000
commit659b98d5a9c97489cc820adf158af58c2592eb7f (patch)
treec2fbe1ff171a9f3e0e35c9ced5c550c3178ae545 /Python/errors.c
parentdbcaf57860e9f8fdc0958e099099e5ce2e2bba15 (diff)
downloadcpython-659b98d5a9c97489cc820adf158af58c2592eb7f.tar.gz
Users of PySequence_GET_FAST() should get the length of the sequence using
PySequence_Size(), not PyObject_Size(): the later considers the mapping methods as well as the sequence methods, which is not needed here. Either should be equally fast in this case, but PySequence_Size() offers a better conceptual match.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions