diff options
Diffstat (limited to 'sources/shiboken2/libshiboken/bufferprocs27.cpp')
-rw-r--r-- | sources/shiboken2/libshiboken/bufferprocs27.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/libshiboken/bufferprocs27.cpp b/sources/shiboken2/libshiboken/bufferprocs27.cpp index 168a28a96..84d670d21 100644 --- a/sources/shiboken2/libshiboken/bufferprocs27.cpp +++ b/sources/shiboken2/libshiboken/bufferprocs27.cpp @@ -58,7 +58,7 @@ PyObject_GetBuffer(PyObject *obj, Pep_buffer *view, int flags) if (pb == NULL || pb->bf_getbuffer == NULL) { PyErr_Format(PyExc_TypeError, "a bytes-like object is required, not '%.100s'", - PepType((Py_TYPE(obj)))->tp_name); + Py_TYPE(obj)->tp_name); return -1; } return (*pb->bf_getbuffer)(obj, view, flags); |