symtable.SymbolTable.has_children()
  • References/Python/Python/Language

has_children() Return True if the block has nested namespaces within it. These can be obtained with get_children()

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

dis.disco(code, lasti=-1, *, file=None) Disassemble a code object, indicating the last instruction if lasti was provided

2025-01-10 15:47:30
pyclbr.Function.name
  • References/Python/Python/Language

Function.name The name of the function.

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

opname human readable name for operation

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

parser.isexpr(st) When st represents an 'eval' form, this function returns true, otherwise it returns

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

is_nested() Return True if the block is a nested class or function.

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

tokenize.tokenize(readline) The tokenize() generator requires one argument, readline, which must be a

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

is_local() Return True if the symbol is local to its block.

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

get_lineno() Return the number of the first line in the block this table represents.

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

pickletools.optimize(picklestring) Returns a new equivalent pickle string after eliminating unused PUT opcodes

2025-01-10 15:47:30