Package groupthink :: Module stringtree :: Class Change
[hide private]
[frames] | no frames]

Class Change

source code

Each Change represents a change to the StringTree.

Instance Methods [hide private]
 
__init__(self, unique_id, parent, edit) source code
 
__repr__(self) source code
Method Details [hide private]

__init__(self, unique_id, parent, edit)
(Constructor)

source code 
Parameters:
  • unique_id - a unique identifier for this Change
  • parent - the unique_id that is affected by this Change. Parent unique_id are always associated with an Insertion edit.
  • edit - an Insertion, Deletion, or Removal. It's what is to be done to the parent