ast.copy_location()
  • References/Python/Python/Language

ast.copy_location(new_node, old_node) Copy source location (lineno and col_offset) from old_node

2025-01-10 15:47:30
pyclbr.Class.methods
  • References/Python/Python/Language

Class.methods A dictionary mapping method names to line numbers.

2025-01-10 15:47:30
symtable.Symbol.is_imported()
  • References/Python/Python/Language

is_imported() Return True if the symbol is created from an import statement.

2025-01-10 15:47:30
tokenize.untokenize()
  • References/Python/Python/Language

tokenize.untokenize(iterable) Converts tokens back into Python source code. The iterable must return sequences with

2025-01-10 15:47:30
dis.Bytecode
  • References/Python/Python/Language

class dis.Bytecode(x, *, first_line=None, current_offset=None) Analyse the bytecode corresponding to a function, generator,

2025-01-10 15:47:30
dis.Bytecode.dis()
  • References/Python/Python/Language

dis() Return a formatted view of the bytecode operations (the same as printed by dis.dis(), but returned as a multi-line

2025-01-10 15:47:30
ast.iter_fields()
  • References/Python/Python/Language

ast.iter_fields(node) Yield a tuple of (fieldname, value) for each field in node._fields that is present

2025-01-10 15:47:30
symtable.Symbol.get_name()
  • References/Python/Python/Language

get_name() Return the symbol’s name.

2025-01-10 15:47:30
pyclbr.Class.module
  • References/Python/Python/Language

Class.module The name of the module defining the class described by the class descriptor.

2025-01-10 15:47:30
ast.NodeVisitor.visit()
  • References/Python/Python/Language

visit(node) Visit a node. The default implementation calls the method called self.visit_classname where

2025-01-10 15:47:30