aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/bufferprocs27.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-24 12:58:53 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-24 12:59:22 +0200
commit2c3cbe854f921068346ee78f7dda841116230ede (patch)
treeacb00b4202ffaab3b565348a530f3ae0f919a555 /sources/shiboken2/libshiboken/bufferprocs27.cpp
parent0cf22cc9f74594252bd744d6aee77cd3ee3ae0e8 (diff)
parente24392c76e5cfdd2d6d51bd853b106db2bc4cb80 (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'sources/shiboken2/libshiboken/bufferprocs27.cpp')
-rw-r--r--sources/shiboken2/libshiboken/bufferprocs27.cpp2
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);