Skip to content

Commit 5d2c9b6

Browse files
committed
[commontk] Replace NULL with nullptr
Follow-up of c00ebf4 ("Replace NULL with nullptr", 2023-01-01)
1 parent c1579e2 commit 5d2c9b6

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)