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
parser.ST.tolist()
  • References/Python/Python/Language

ST.tolist(line_info=False, col_info=False) Same as st2list(st, line_info, col_info).

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

keyword.iskeyword(s) Return true if s is a Python keyword.

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

argval resolved arg value (if known), otherwise same as arg

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
dis.Instruction.opname
  • References/Python/Python/Language

opname human readable name for operation

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

token.ISTERMINAL(x) Return true for terminal token values.

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

get_namespaces() Return a list of namespaces bound to this name.

2025-01-10 15:47:30
py_compile.PyCompileError
  • References/Python/Python/Language

exception py_compile.PyCompileError Exception raised when an error occurs while attempting to compile the file.

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

dis.haslocal Sequence of bytecodes that access a local variable.

2025-01-10 15:47:30