Lines Matching defs:dis
9 dis(pickle, out=None, memo=None, indentlevel=4)
19 __all__ = ['dis', 'genops', 'optimize']
26 # well-formedness. dis() does a lot of this already.
30 # dis() already prints this info at the end.
2395 def dis(pickle, out=None, memo=None, indentlevel=4, annotate=0):
2406 may be mutated by dis(), if the pickle contains PUT or BINPUT opcodes.
2407 Passing the same memo object to another dis() call then allows disassembly
2414 Optional arg 'annotate' if nonzero instructs dis() to add short
2558 >>> dis(pkl0)
2596 >>> dis(pkl1)
2630 >>> dis(pickle.dumps(pickletools.dis, 0))
2631 0: c GLOBAL 'pickletools dis'
2638 >>> dis(pickle.dumps(x, 0))
2668 >>> dis(pickle.dumps(x, 1))
2709 >>> dis(pickle.dumps(L, 0))
2721 >>> dis(pickle.dumps(L, 1))
2736 >>> dis(pickle.dumps(T, 0))
2752 >>> dis(pickle.dumps(T, 1))
2768 >>> dis(pickle.dumps(L, 2))
2779 >>> dis(pickle.dumps(T, 2))
2794 >>> dis(pickle.dumps(T, 3), annotate=1)
2820 >>> dis(f, memo=memo)
2831 >>> dis(f, memo=memo)
2883 dis(args.pickle_file[0], args.output, None,
2890 dis(f, args.output, memo, args.indentlevel, annotate)