Skip to content

Commit

Permalink
Trailing comma is bad
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Mar 22, 2023
1 parent 7998d90 commit 558541d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cudf/cudf/_lib/sort.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ def segmented_sort_by_key(
cdef vector[null_order] c_null_precedence
cdef unique_ptr[table] result
ncol = len(values)
column_order = column_order or [True] * ncol,
null_precedence = null_precedence or ["first"] * ncol,
column_order = column_order or [True] * ncol
null_precedence = null_precedence or ["first"] * ncol
for asc, null in zip(column_order, null_precedence):
c_column_order.push_back(order.ASCENDING if asc else order.DESCENDING)
if asc ^ (null == "first"):
Expand Down

0 comments on commit 558541d

Please sign in to comment.