I've got a class called instrument, with a bunch of methods and attributes defined.
When I pickle it, I was hoping it would pickle it complete with source etc, such that the entire class could be unpickled & used without the original source code.
pickle.dumps(Instrument)
Out[7]:
b'\x80\x03cinstrument\nInstrument\nq\x00.'
How can I get it to dump the whole thing?