types ::
LambdaType ::
Class LambdaType
|
|
Class LambdaType
object --+
|
types.LambdaType
function(code, globals[, name[, argdefs[, closure]]])
Create a function object from a code object and a dictionary. The
optional name string overrides the name from the code object. The
optional argdefs tuple specifies the default argument values. The
optional closure tuple supplies the bindings for free variables.
|
|
|
|
value
|
__get__(descr,
obj,
type=...) |
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
|
|
Inherited from object :
__format__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
__closure__
|
|
__code__
|
|
__defaults__
|
|
__globals__
|
|
__name__
|
|
func_closure
|
|
func_code
|
|
func_defaults
|
|
func_dict
|
|
func_doc
|
|
func_globals
|
|
func_name
|
Inherited from object :
__class__
|
x.__delattr__('name') <==> del x.name
- Overrides:
object.__delattr__
|
x.__getattribute__('name') <==> x.name
- Overrides:
object.__getattribute__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|
x.__setattr__('name', value) <==> x.name = value
- Overrides:
object.__setattr__
|