Skip to content

Commit bc9d8e2

Browse files
committed
Replace NULL with nullptr
Follow-up of c00ebf4 ("Replace NULL with nullptr", 2023-01-01) (cherry picked from commit commontk/PythonQt@5d2c9b6)
1 parent 86eb0eb commit bc9d8e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PythonQtSlot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ meth_get__self__(PythonQtSlotFunctionObject *m, void * /*closure*/)
613613
if (PyEval_GetRestricted()) {
614614
PyErr_SetString(PyExc_RuntimeError,
615615
"method.__self__ not accessible in restricted mode");
616-
return NULL;
616+
return nullptr;
617617
}
618618
#endif
619619
self = m->m_self;

0 commit comments

Comments
 (0)