Skip to content

Commit 6f96331

Browse files
alimcmaster1jreback
authored andcommitted
Remove ret value init func (#30710)
1 parent 4206fd4 commit 6f96331

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/_libs/src/ujson/python/objToJSON.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,8 @@ void *initObjToJSON(void) {
176176
Py_DECREF(mod_nattype);
177177
}
178178

179-
/* Initialise numpy API and use 2/3 compatible return */
179+
/* Initialise numpy API */
180180
import_array();
181-
return NUMPY_IMPORT_ARRAY_RETVAL;
182181
}
183182

184183
static TypeContext *createTypeContext(void) {

0 commit comments

Comments
 (0)