diff options
Diffstat (limited to 'sources/shiboken2/libshiboken/pep384impl.cpp')
-rw-r--r-- | sources/shiboken2/libshiboken/pep384impl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken2/libshiboken/pep384impl.cpp b/sources/shiboken2/libshiboken/pep384impl.cpp index b648330d8..e1dd7518f 100644 --- a/sources/shiboken2/libshiboken/pep384impl.cpp +++ b/sources/shiboken2/libshiboken/pep384impl.cpp @@ -341,7 +341,7 @@ extern "C" */ /* - * Here is the verification code for PepTypeObject. + * Here is the verification code for PyTypeObject. * We create a type object and check if its fields * appear at the right offsets. */ @@ -402,7 +402,7 @@ static PyType_Spec typeprobe_spec = { }; static void -check_PepTypeObject_valid(void) +check_PyTypeObject_valid(void) { PyObject *obtype = reinterpret_cast<PyObject *>(&PyType_Type); PyTypeObject *probe_tp_base = reinterpret_cast<PyTypeObject *>( @@ -827,7 +827,7 @@ PepType_GetNameStr(PyTypeObject *type) void Pep384_Init() { - check_PepTypeObject_valid(); + check_PyTypeObject_valid(); #ifdef Py_LIMITED_API Pep_GetVerboseFlag(); PepMethod_TypePtr = getMethodType(); |