*Not documented*
def __init__(self, rawcode):
origin: code.Code
where:
changes in __dict__ after execution:
function source:
def __init__(self, rawcode):
rawcode = getattr(rawcode, 'im_func', rawcode)
rawcode = getattr(rawcode, 'func_code', rawcode)
self.raw = rawcode
self.filename = rawcode.co_filename
try:
self.firstlineno = rawcode.co_firstlineno - 1
except AttributeError:
raise TypeError("not a code object: %r" %(rawcode,))
self.name = rawcode.co_name
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.0
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.1
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.2
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.3
called in /home/johnny/projects/merlinux/py/dist/py/code/source.py
traceback code.Code.__init__.4
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.5
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.6
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.7
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.8
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.9
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.10
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.11
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.12
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.13
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.14
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.15
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.16
called in /home/johnny/projects/merlinux/py/dist/py/code/source.py
traceback code.Code.__init__.17
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.18
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py
traceback code.Code.__init__.19
called in /home/johnny/projects/merlinux/py/dist/py/code/frame.py