mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -04:00
g13gui: observer: Add a helpful method for misnamed calls
This commit is contained in:
parent
dfe9713011
commit
186f64c33f
@ -50,6 +50,9 @@ class Subject(object):
|
|||||||
"""Removes all scheduled changes from the change buffer."""
|
"""Removes all scheduled changes from the change buffer."""
|
||||||
self._changes = []
|
self._changes = []
|
||||||
|
|
||||||
|
def notifyChange(self):
|
||||||
|
raise NotImplementedError('Use Subject.notifyChanged instead')
|
||||||
|
|
||||||
def notifyChanged(self):
|
def notifyChanged(self):
|
||||||
"""Notifies all observers of scheduled changes in the change buffer.
|
"""Notifies all observers of scheduled changes in the change buffer.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user