PyDocs

Nav

Python Runtime Services

CO_GENERATOR

The flag is set when the code object is a generator function, i.e. a generator object is returned when the code object is executed.
0 Examples
No examples for inspect/CO_GENERATOR.
See Also
No see-alsos for inspect/CO_GENERATOR
0 Notes
No notes for CO_GENERATOR