Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(map(lambda _: cloudpickle._make_cell(None), closure)
if closure and pythonapi is not None
def save_cell(self, obj):
self.save(cloudpickle._make_cell)
self.save((obj.cell_contents,))
self.write(pickle.REDUCE)
dispatch = CloudPickler.dispatch.copy()