summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-05 00:14:56 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-05 00:14:56 (GMT)
commitf4848dac41689d1f2f8bd224bd935beae9b8df86 (patch)
treec4b33c842f923add9fde5d8e4a4619ab6b0c316b /Include/abstract.h
parent648b4de3d31aab9df142540919accf0cb518e2f3 (diff)
downloadcpython-f4848dac41689d1f2f8bd224bd935beae9b8df86.zip
cpython-f4848dac41689d1f2f8bd224bd935beae9b8df86.tar.gz
cpython-f4848dac41689d1f2f8bd224bd935beae9b8df86.tar.bz2
Make PyIter_Next() a little smarter (wrt its knowledge of iterator
internals) so clients can be a lot dumber (wrt their knowledge).
Diffstat (limited to 'Include/abstract.h')
-rw-r--r--Include/abstract.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index 1dae5f1..ac9e568 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -484,9 +484,8 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
DL_IMPORT(PyObject *) PyIter_Next(PyObject *);
/* Takes an iterator object and calls its tp_iternext slot,
returning the next value. If the iterator is exhausted,
- this can return NULL without setting an exception, *or*
- NULL with a StopIteration exception.
- NULL with any other exception means an error occurred. */
+ this returns NULL without setting an exception.
+ NULL with an exception means an error occurred. */
/* Number Protocol:*/