Lines Matching defs:generator
62 generator = type((lambda: (yield))())
69 ## asynchronous generator ##
207 """Return the next item from the asynchronous generator.
214 """Send a value into the asynchronous generator.
221 """Raise an exception in the asynchronous generator.
240 raise RuntimeError("asynchronous generator ignored GeneratorExit")
327 """Return the next item from the generator.
334 """Send a value into the generator.
341 """Raise an exception in the generator.
353 """Raise GeneratorExit inside generator.
360 raise RuntimeError("generator ignored GeneratorExit")
370 Generator.register(generator)