Reformatted code a bit.
This commit is contained in:
parent
baa0f0510e
commit
cdc8cdd215
|
@ -175,7 +175,7 @@ add_define(PyObject *dict, const char *key, long value)
|
||||||
PyObject *k = PyUnicode_FromString(key);
|
PyObject *k = PyUnicode_FromString(key);
|
||||||
PyObject *v = PyLong_FromLong(value);
|
PyObject *v = PyLong_FromLong(value);
|
||||||
if (v && k) {
|
if (v && k) {
|
||||||
PyDict_SetItem(dict,k,v);
|
PyDict_SetItem(dict, k, v);
|
||||||
}
|
}
|
||||||
Py_XDECREF(k);
|
Py_XDECREF(k);
|
||||||
Py_XDECREF(v);
|
Py_XDECREF(v);
|
||||||
|
|
Loading…
Reference in New Issue