MCPcopy Create free account
hub / github.com/asrp/undoable / observed_list

Class observed_list

undoable.py:111–205  ·  view source on GitHub ↗

A list that calls all functions in self.undocallbacks with an (undo, redo) pair any time an operation is applied to the list. Every function in self.callbacks is called with *redo instead. Contains a self.replace function not in python's list for conenience.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

deepwrapFunction · 0.85
__deepcopy__Method · 0.85
undoable.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected