diff options
Diffstat (limited to 'source/blender/python/api2_2x/Curve.c')
-rw-r--r-- | source/blender/python/api2_2x/Curve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Curve.c b/source/blender/python/api2_2x/Curve.c index c273a0302a3..d1fb62669ab 100644 --- a/source/blender/python/api2_2x/Curve.c +++ b/source/blender/python/api2_2x/Curve.c @@ -361,7 +361,7 @@ M_Curve_Get (PyObject * self, PyObject * args) curvlist = PyList_New (0); if (curvlist == NULL) - return (PythonReturnErrorObject (PyExc_MemoryError, + return (EXPP_ReturnPyObjError (PyExc_MemoryError, "couldn't create PyList")); while (curv_iter) |