diff options
author | Fred Drake <fdrake@acm.org> | 2001-05-29 18:51:41 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-05-29 18:51:41 (GMT) |
commit | 96a2a80065603746e655ec4e7f2d6e488a5b9b36 (patch) | |
tree | 19192f7972d63fb05fff6613bc8e0613e42208ed /Doc/tools/node2label.pl | |
parent | dc9e7e42c85186986819f037e1eed751d3548a2c (diff) | |
download | cpython-96a2a80065603746e655ec4e7f2d6e488a5b9b36.zip cpython-96a2a80065603746e655ec4e7f2d6e488a5b9b36.tar.gz cpython-96a2a80065603746e655ec4e7f2d6e488a5b9b36.tar.bz2 |
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 'Doc/tools/node2label.pl')
0 files changed, 0 insertions, 0 deletions