fix: __setitem__ == to single =

This commit is contained in:
zpan1 2021-02-10 19:51:05 -06:00 committed by GitHub
parent 6fee52a079
commit eb767d9967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class Array(): # tests on nd arrays independent of basic_stats
def __setitem__(self, key, value):
self.array[key] == value
self.array[key] = value
def normalize(self, array):
@ -149,4 +149,4 @@ class Array(): # tests on nd arrays independent of basic_stats
else:
return binary_search(arr, mid + 1, high, x)
else:
return -1
return -1