types :: GeneratorType :: Class GeneratorType
[hide private]
[frames] | no frames]

Class GeneratorType

object --+
         |
        types.GeneratorType

Instance Methods [hide private]
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__iter__(x)
iter(x)
 
__repr__(x)
repr(x)
raise GeneratorExit inside generator.
close()
the next value, or raise StopIteration
next(x)
send 'arg' into generator,
send(arg)
return next yielded value or raise StopIteration.
raise exception in generator,
throw(typ, val=..., tb=...)
return next yielded value or raise StopIteration.

Inherited from object: __delattr__, __format__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  __name__
Return the name of the generator's associated code object.
  gi_code
  gi_frame
  gi_running

Inherited from object: __class__

Method Details [hide private]

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__