code: def write_bytecode(self, f):
          
          if self.code is None:
              raise TypeError('can\'t write empty bucket')
          f.write(bc_magic)
          pickle.dump(self.checksum, f, 2)
          if isinstance(f, file):
              marshal.dump(self.code, f)
          else:
              f.write(marshal.dumps(self.code))
docs: Dump the bytecode into the file or file like object passed.