code.Code API [rev. unknown]

class Code(object):

wrapper around Python code objects

class attributes and properties:

fullsource: <property object (dynamically calculated value)>
path: <property object (dynamically calculated value)>

methods:

def __init__(self, rawcode):

*no docstring available*

def getargs(self):

return a tuple with the argument names for the code object

def new(self, rec=False, **kwargs):

return new code object with modified attributes. if rec-cursive is true then dive into code objects contained in co_consts.

def source(self):

return a py.code.Source object for the code object's source only

def __eq__(self, other):

*no docstring available*

def __ne__(self, other):

*no docstring available*