Skip to content

Commit

Permalink
Merge pull request #94 from anovati/issue-BUG070
Browse files Browse the repository at this point in the history
SOLVED
  • Loading branch information
edoardocolella authored Dec 13, 2023
2 parents c134487 + 1d89c63 commit ca9e0f2
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 ca9e0f2

Please sign in to comment.