|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/typesmethods.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/typesother.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/bltin-type-objects.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/genindex.html| ]]
|
Previous: 2.1.7.4 Methods Up: 2.1.7 Other Built-in Types Next: 2.1.7.6 Type Objects
2.1.7.5 Code Objects
Code objects are used by the implementation to represent ``pseudo-compiled'' executable Python code such as a function body. They differ from function objects because they don't contain a reference to their global execution environment. Code objects are returned by the built-in compile() function and can be extracted from function objects through their func_code attribute.
A code object can be executed or evaluated by passing it (instead of a source string) to the exec statement or the built-in eval() function.
See the Python Reference Manual for more information.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/typesmethods.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/typesother.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/bltin-type-objects.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/genindex.html| ]]
|
Previous: 2.1.7.4 Methods Up: 2.1.7 Other Built-in Types Next: 2.1.7.6 Type Objects
See About this document... for information on suggesting changes.