MCPcopy Index your code
hub / github.com/cloudpipe/cloudpickle / _make_empty_cell

Function _make_empty_cell

cloudpickle/cloudpickle.py:519–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

517
518
519def _make_empty_cell():
520 if False:
521 # trick the compiler into creating an empty cell in our lambda
522 cell = None
523 raise AssertionError("this route should not be executed")
524
525 return (lambda: cell).__closure__[0]
526
527
528def _make_cell(value=_empty_cell_value):

Callers 3

_make_cellFunction · 0.85
_function_getnewargsMethod · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…