Super() should not be called with parameters

source: https://realpython.com/python-super/
This commit is contained in:
Matthias 2019-02-26 21:01:50 +01:00
parent 79aac473b3
commit ef26484153

View File

@ -23,4 +23,4 @@ class Binance(Exchange):
# get next-higher step in the limit_range list
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)