Super() should not be called with parameters
source: https://realpython.com/python-super/
This commit is contained in:
parent
79aac473b3
commit
ef26484153
@ -23,4 +23,4 @@ class Binance(Exchange):
|
|||||||
# get next-higher step in the limit_range list
|
# get next-higher step in the limit_range list
|
||||||
limit = min(list(filter(lambda x: limit <= x, limit_range)))
|
limit = min(list(filter(lambda x: limit <= x, limit_range)))
|
||||||
|
|
||||||
return super(Binance, self).get_order_book(pair, limit)
|
return super().get_order_book(pair, limit)
|
||||||
|
Loading…
Reference in New Issue
Block a user