Skip to content

Commit bf3e7d7

Browse files
committed
Don't add exception declarations on pure Cython functions
1 parent 2670a63 commit bf3e7d7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

python/cudf/bindings/cudf_cpp.pxd

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ from libc.stdint cimport uint8_t, uint32_t, int64_t, int32_t, int16_t, int8_t, u
1212

1313
# Utility functions to build gdf_columns, gdf_context and error handling
1414

15-
cpdef get_ctype_ptr(obj) except +*
16-
cpdef get_column_data_ptr(obj) except +*
17-
cpdef get_column_valid_ptr(obj) except +*
15+
cpdef get_ctype_ptr(obj)
16+
cpdef get_column_data_ptr(obj)
17+
cpdef get_column_valid_ptr(obj)
1818

19-
cdef gdf_dtype get_dtype(dtype) except +*
19+
cdef gdf_dtype get_dtype(dtype)
2020

21-
cdef get_scalar_value(gdf_scalar scalar) except +*
21+
cdef get_scalar_value(gdf_scalar scalar)
2222

23-
cdef gdf_column* column_view_from_column(col) except +*
24-
cdef gdf_column* column_view_from_NDArrays(size, data, mask, dtype, null_count) except +*
25-
cdef gdf_column_to_column_mem(gdf_column* input_col) except +*
26-
cdef update_nvstrings_col(col, uintptr_t category_ptr) except +*
23+
cdef gdf_column* column_view_from_column(col)
24+
cdef gdf_column* column_view_from_NDArrays(size, data, mask, dtype, null_count)
25+
cdef gdf_column_to_column_mem(gdf_column* input_col)
26+
cdef update_nvstrings_col(col, uintptr_t category_ptr)
2727

2828
cdef gdf_context* create_context_view(flag_sorted, method, flag_distinct,
29-
flag_sort_result, flag_sort_inplace) except +*
29+
flag_sort_result, flag_sort_inplace)
3030

31-
cpdef check_gdf_error(errcode) except +*
31+
cpdef check_gdf_error(errcode)
3232

3333
# Import cudf.h header to import all functions
3434
# First version of bindings has no changes to the cudf.h header, so this file

0 commit comments

Comments
 (0)