Lines Matching +full:is +full:- +full:generator +full:- +full:function
3 .. _gen-objects:
5 Generator Objects
6 -----------------
8 Generator objects are what Python uses to implement generator iterators. They
9 are normally created by iterating over a function that yields values, rather
15 The C structure used for generator objects.
20 The type object corresponding to generator objects.
23 .. c:function:: int PyGen_Check(ob)
25 Return true if *ob* is a generator object; *ob* must not be *NULL*.
28 .. c:function:: int PyGen_CheckExact(ob)
30 Return true if *ob*'s type is *PyGen_Type* is a generator object; *ob* must not
34 .. c:function:: PyObject* PyGen_New(PyFrameObject *frame)
36 Create and return a new generator object based on the *frame* object. A
37 reference to *frame* is stolen by this function. The parameter must not be