cgitb.scanvars()

cgitb.scanvars(reader, frame, locals)[source]

Scan one logical line of Python and look up values of variables used.