changed priority of observable array to 0

This commit is contained in:
Max Zwiessele 2014-01-24 16:37:47 +00:00
parent de9f12f6a4
commit 745637d459

View file

@ -25,6 +25,7 @@ class ObservableArray(ListArray, Observable):
will be called every time this array changes. The callable
takes exactly one argument, which is this array itself.
"""
__array_priority__ = 0 # Never give back Param
def __new__(cls, input_array):
obj = super(ObservableArray, cls).__new__(cls, input_array).view(cls)
obj._observers_ = {}