code.Frame API [rev. unknown]

class Frame(object):

Wrapper around a Python frame holding f_locals and f_globals in which expressions can be evaluated.

class attributes and properties:

statement: <property object (dynamically calculated value)>

methods:

def __init__(self, frame):

*no docstring available*

def eval(self, code, **vars):

evaluate 'code' in the frame 'vars' are optional additional local variables returns the result of the evaluation

def exec_(self, code, **vars):

exec 'code' in the frame 'vars' are optiona; additional local variables

def getargs(self):

return a list of tuples (name, value) for all arguments

def is_true(self, object):

*no docstring available*

def repr(self, object):

return a 'safe' (non-recursive, one-line) string repr for 'object'