From 1d89c634ca37c41758279dac5ad7db8805a42233 Mon Sep 17 00:00:00 2001 From: anovati Date: Wed, 13 Dec 2023 19:54:18 +0100 Subject: [PATCH] Fixato bug in structures.py -> BUG070 --- source/BUG/structures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/BUG/structures.py b/source/BUG/structures.py index 10180a1..3eb3111 100644 --- a/source/BUG/structures.py +++ b/source/BUG/structures.py @@ -74,7 +74,7 @@ def reverse_list(lst: list) -> list: """ BUG070: reverse_list should reverse the order of elements in the list, not sort it in descending order. """ - lst.sort(reverse=True) + lst.reverse() return lst