From 558541dc3fadf34fa28137b717b6ebc5478370f3 Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Wed, 22 Mar 2023 17:02:00 +0000 Subject: [PATCH] Trailing comma is bad --- python/cudf/cudf/_lib/sort.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/cudf/cudf/_lib/sort.pyx b/python/cudf/cudf/_lib/sort.pyx index c4dae04b134..3c3f8cabda6 100644 --- a/python/cudf/cudf/_lib/sort.pyx +++ b/python/cudf/cudf/_lib/sort.pyx @@ -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"):