编辑器
import dis def add(a, b): return a + b bc = dis.Bytecode(add) print(isinstance(bc, dis.Bytecode)) print(len(list(bc)) > 0)
True
True