Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e19dac

Browse files
committed
Fix segfault on Python 3
1 parent 339537d commit 6e19dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_path_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ static PyObject *Py_update_path_extents(PyObject *self, PyObject *args, PyObject
242242
outminpos(1) = e.ym;
243243

244244
return Py_BuildValue(
245-
"NNO", outextents.pyobj(), outminpos.pyobj(), changed ? Py_True : Py_False);
245+
"NNi", outextents.pyobj(), outminpos.pyobj(), changed);
246246
}
247247

248248
const char *Py_get_path_collection_extents__doc__ = "get_path_collection_extents(";

0 commit comments

Comments
 (0)