您的位置:首页 > 编程语言 > Python开发

python code

2015-08-05 12:04 549 查看
codeco_argcountnumber of arguments (not including * or ** args) 参数个数(不包括* 和**)
co_codestring of raw compiled bytecode 二进制代码的原始字符串
co_conststuple of constants used in the bytecode          常量元组
co_filenamename of file in which this code object was created 代码所在的文件
co_firstlinenonumber of first line in Python source code python第一行源代码所在的行号
co_flagsbitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg
co_lnotabencoded mapping of line numbers to bytecode indices
co_namename with which this code object was defined 代码对象的名称
co_namestuple of names of local variables 局部变量的元组
co_nlocalsnumber of local variables 局部变量的数量
co_stacksizevirtual machine stack space required 所需的 virtual machine stack 空间
co_varnamestuple of names of arguments and local variables 参数和局部变量的名称元组
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: