is_namespace() Return True if name binding introduces new namespace. If the name
is_imported() Return True if the symbol is created from an import statement.
dis.hasjabs Sequence of bytecodes that have an absolute jump target.
class symtable.Class A namespace of a class. This class inherits SymbolTable.
ast.parse(source, filename='', mode='exec') Parse the source into an AST node. Equivalent to compile(source, filename
ast.iter_fields(node) Yield a tuple of (fieldname, value) for each field in node._fields that is present
Class.methods A dictionary mapping method names to line numbers.
get_name() Return the symbol’s name.
tokenize.untokenize(iterable) Converts tokens back into Python source code. The iterable must return sequences with
class dis.Bytecode(x, *, first_line=None, current_offset=None) Analyse the bytecode corresponding to a function, generator,
Page 7 of 15