Changeset 391 for python/trunk/Doc/c-api/iterator.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/c-api/iterator.rst
r2 r391 13 13 14 14 15 .. c var:: PyTypeObject PySeqIter_Type15 .. c:var:: PyTypeObject PySeqIter_Type 16 16 17 Type object for iterator objects returned by :c func:`PySeqIter_New` and the17 Type object for iterator objects returned by :c:func:`PySeqIter_New` and the 18 18 one-argument form of the :func:`iter` built-in function for built-in sequence 19 19 types. … … 22 22 23 23 24 .. c function:: int PySeqIter_Check(op)24 .. c:function:: int PySeqIter_Check(op) 25 25 26 Return true if the type of *op* is :c data:`PySeqIter_Type`.26 Return true if the type of *op* is :c:data:`PySeqIter_Type`. 27 27 28 28 .. versionadded:: 2.2 29 29 30 30 31 .. c function:: PyObject* PySeqIter_New(PyObject *seq)31 .. c:function:: PyObject* PySeqIter_New(PyObject *seq) 32 32 33 33 Return an iterator that works with a general sequence object, *seq*. The … … 38 38 39 39 40 .. c var:: PyTypeObject PyCallIter_Type40 .. c:var:: PyTypeObject PyCallIter_Type 41 41 42 Type object for iterator objects returned by :c func:`PyCallIter_New` and the42 Type object for iterator objects returned by :c:func:`PyCallIter_New` and the 43 43 two-argument form of the :func:`iter` built-in function. 44 44 … … 46 46 47 47 48 .. c function:: int PyCallIter_Check(op)48 .. c:function:: int PyCallIter_Check(op) 49 49 50 Return true if the type of *op* is :c data:`PyCallIter_Type`.50 Return true if the type of *op* is :c:data:`PyCallIter_Type`. 51 51 52 52 .. versionadded:: 2.2 53 53 54 54 55 .. c function:: PyObject* PyCallIter_New(PyObject *callable, PyObject *sentinel)55 .. c:function:: PyObject* PyCallIter_New(PyObject *callable, PyObject *sentinel) 56 56 57 57 Return a new iterator. The first parameter, *callable*, can be any Python
Note:
See TracChangeset
for help on using the changeset viewer.