func_code

Description

Returns the code object representing the compiled function body.

Syntax

function.func_code

Return Value

#TODO

Time Complexity

#TODO

Remarks

The func_code attribute is writeable.

Example

>>> def func(): pass
...
>>> c = foo.func_code
>>> c
<code object func at 00D9D188, file "<interactive input>", line 1>

See Also

#TODO