diff options
author | Guido van Rossum <guido@python.org> | 2002-07-16 21:02:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-07-16 21:02:42 (GMT) |
commit | ca5ed5b8753e71c15e1acbd753c4fd65cd3813a0 (patch) | |
tree | fba1c9406bece420751c24d73a7582f7d25a6029 /Lib/test/test_anydbm.py | |
parent | 86d593e110f61800069b2d488d5530477a3d8054 (diff) | |
download | cpython-ca5ed5b8753e71c15e1acbd753c4fd65cd3813a0.zip cpython-ca5ed5b8753e71c15e1acbd753c4fd65cd3813a0.tar.gz cpython-ca5ed5b8753e71c15e1acbd753c4fd65cd3813a0.tar.bz2 |
Remove the next() method -- one is supplied automatically by
PyType_Ready() because the tp_iternext slot is set (fortunately,
because using the tp_iternext implementation for the the next()
implementation is buggy). Also changed the allocation order in
enum_next() so that the underlying iterator is only moved ahead when
we have successfully allocated the result tuple and index.
Diffstat (limited to 'Lib/test/test_anydbm.py')
0 files changed, 0 insertions, 0 deletions