Skip to content

Commit 1ecac47

Browse files
committed
BUG: ujson fix for VC++
1 parent a8d15bd commit 1ecac47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/src/ujson/python/objToJSON.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ void initObjToJSON(void)
144144
int initObjToJSON(void)
145145
#endif
146146
{
147+
PyObject *mod_frame;
147148
PyObject* mod_decimal = PyImport_ImportModule("decimal");
148149
type_decimal = PyObject_GetAttrString(mod_decimal, "Decimal");
149150
Py_INCREF(type_decimal);
150151
Py_DECREF(mod_decimal);
151152

152153
PyDateTime_IMPORT;
153-
PyObject *mod_frame;
154154

155155
mod_frame = PyImport_ImportModule("pandas.core.frame");
156156
if (mod_frame)

0 commit comments

Comments
 (0)