summaryrefslogtreecommitdiff
path: root/Lib/getopt.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-07-16 21:02:42 +0000
committerGuido van Rossum <guido@python.org>2002-07-16 21:02:42 +0000
commitca5ed5b8753e71c15e1acbd753c4fd65cd3813a0 (patch)
treefba1c9406bece420751c24d73a7582f7d25a6029 /Lib/getopt.py
parent86d593e110f61800069b2d488d5530477a3d8054 (diff)
downloadcpython-git-ca5ed5b8753e71c15e1acbd753c4fd65cd3813a0.tar.gz
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/getopt.py')
0 files changed, 0 insertions, 0 deletions