python code
2015-08-05 12:04
549 查看
code | co_argcount | number of arguments (not including * or ** args) 参数个数(不包括* 和**) | |
co_code | string of raw compiled bytecode 二进制代码的原始字符串 | ||
co_consts | tuple of constants used in the bytecode 常量元组 | ||
co_filename | name of file in which this code object was created 代码所在的文件 | ||
co_firstlineno | number of first line in Python source code python第一行源代码所在的行号 | ||
co_flags | bitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg | ||
co_lnotab | encoded mapping of line numbers to bytecode indices | ||
co_name | name with which this code object was defined 代码对象的名称 | ||
co_names | tuple of names of local variables 局部变量的元组 | ||
co_nlocals | number of local variables 局部变量的数量 | ||
co_stacksize | virtual machine stack space required 所需的 virtual machine stack 空间 | ||
co_varnames | tuple of names of arguments and local variables 参数和局部变量的名称元组 |
相关文章推荐
- python:解析html(HTMLParser、SGMLParser)
- python的enumerate()
- PYTHON开发入门与实战14-基于EXTJS的界面
- python的zip()
- PYTHON开发入门与实战14-基于EXTJS的界面
- PYTHON开发入门与实战14-基于EXTJS的界面
- python字典排序
- python解决斐波拉契问题的n种方法
- 【python工具篇】pip和pypi
- python安装各种插件
- python中str()与repr()的区别
- 《父与子的编程之旅-与小卡特一起学python》第18章
- 从零开始学Python
- python中range和xrnage的区别
- 从零开始学Python
- 从零开始学Python
- 从零开始学Python
- python多线程编程(3): 使用互斥锁同步线程
- 从零开始学Python
- python socket的代码实例