Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/123-check-that-methods-of-table-…
Browse files Browse the repository at this point in the history
…can-handle-an-empty-table' into 123-check-that-methods-of-table-can-handle-an-empty-table
  • Loading branch information
patrikguempel committed May 26, 2023
2 parents f0d50f7 + df63986 commit da34b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/safeds/data/tabular/containers/_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ def slice_rows(
def sort_columns(
self,
comparator: Callable[[Column, Column], int] = lambda col1, col2: (col1.name > col2.name)
- (col1.name < col2.name),
- (col1.name < col2.name),
) -> Table:
"""
Sort the columns of a `Table` with the given comparator and return a new `Table`.
Expand Down

0 comments on commit da34b22

Please sign in to comment.