ruff/resources/test/fixtures/C413.py

5 lines
84 B
Python

x = [2, 3, 1]
list(sorted(x))
reversed(sorted(x))
reversed(sorted(x, reverse=True))