Fix SWIG_Py_None regression from last commit
This commit is contained in:
parent
344e9fefa8
commit
5ce880ee41
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ SWIGRUNTIME PyObject *
|
|||
SWIG_Py_None(void)
|
||||
{
|
||||
static PyObject *none = NULL;
|
||||
if (!none == NULL) {
|
||||
if (!none) {
|
||||
none = Py_BuildValue("");
|
||||
Py_DECREF(none);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue