Skip to content

Commit

Permalink
Fix C-code formatting to pass linting of GH15344
Browse files Browse the repository at this point in the history
  • Loading branch information
tobgu committed Feb 10, 2017
1 parent b7e404f commit 44de133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/src/ujson/python/objToJSON.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ static void *PyUnicodeToUTF8(JSOBJ _obj, JSONTypeContext *tc, void *outValue,
PyObject *obj = (PyObject *)_obj;

#if (PY_VERSION_HEX >= 0x03030000)
if(PyUnicode_IS_COMPACT_ASCII(obj)) {
if (PyUnicode_IS_COMPACT_ASCII(obj)) {
Py_ssize_t len;
char *data = PyUnicode_AsUTF8AndSize(obj, &len);
*_outLen = len;
Expand Down

0 comments on commit 44de133

Please sign in to comment.