

def code_info(code, lineno=None):
    if ((not DEBUG) or (not code)):
        return ''
    funcname = code.co_name
    filename = os.path.basename(code.co_filename)
    if (funcname is None):
        lineno = code.co_firstlineno
    return ('%s(%s:%s)' % (funcname, filename, lineno))

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/ndb/utils.py code_info/VarMisuse@54/60 `lineno`->`funcname`