commit | 96a2a80065603746e655ec4e7f2d6e488a5b9b36 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue May 29 18:51:41 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue May 29 18:51:41 2001 +0000 |
tree | 19192f7972d63fb05fff6613bc8e0613e42208ed | |
parent | dc9e7e42c85186986819f037e1eed751d3548a2c [diff] |
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.