Skip to content

Commit

Permalink
Fixato bug in structures.py -> BUG070
Browse files Browse the repository at this point in the history
  • Loading branch information
anovati committed Dec 13, 2023
1 parent 7fcacee commit 1d89c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/BUG/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 1d89c63

Please sign in to comment.