Cell (containing values of a function's free variables) reducer.
(obj)
| 950 | |
| 951 | |
| 952 | def _cell_reduce(obj): |
| 953 | """Cell (containing values of a function's free variables) reducer.""" |
| 954 | try: |
| 955 | obj.cell_contents |
| 956 | except ValueError: # cell is empty |
| 957 | return _make_empty_cell, () |
| 958 | else: |
| 959 | return _make_cell, (obj.cell_contents,) |
| 960 | |
| 961 | |
| 962 | def _classmethod_reduce(obj): |
nothing calls this directly
no outgoing calls
no test coverage detected