yaml ::
representer ::
BaseRepresenter ::
function_type ::
Class function_type
|
|
Class function_type
object --+
|
yaml.representer.BaseRepresenter.function_type
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 :
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__str__
|
|
__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__
|