chore: improved docstring

This commit is contained in:
Matthias
2025-04-02 19:43:56 +02:00
parent 9c39b99ec6
commit 1f09b90dbe
+1
View File
@@ -1964,6 +1964,7 @@ class Exchange:
""" """
Get next greater value in the list. Get next greater value in the list.
Used by fetch_l2_order_book if the api only supports a limited range Used by fetch_l2_order_book if the api only supports a limited range
if both limit_range and upper_limit is provided, limit_range wins.
""" """
if not limit_range: if not limit_range:
return min(limit, upper_limit) if upper_limit else limit return min(limit, upper_limit) if upper_limit else limit