g13gui: observer: Add a helpful method for misnamed calls

This commit is contained in:
June Tate-Gans 2021-05-02 15:22:43 -05:00
parent dfe9713011
commit 186f64c33f

View File

@ -50,6 +50,9 @@ class Subject(object):
"""Removes all scheduled changes from the change buffer."""
self._changes = []
def notifyChange(self):
raise NotImplementedError('Use Subject.notifyChanged instead')
def notifyChanged(self):
"""Notifies all observers of scheduled changes in the change buffer.