Skip to content

Commit b94f9bc

Browse files
Fix typo
1 parent 95f3932 commit b94f9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyobjc-core/Modules/objc/pyobjc-compat.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ int PyObject_Cmp (PyObject *o1, PyObject *o2, int *result)
432432
}
433433
#if Py_MAJOR_VERSION == 3
434434
value = PyDict_GetItemWithError(registry, key);
435-
if (value == NULL && PyErr_Occured()) {
435+
if (value == NULL && PyErr_Occurred()) {
436436
Py_DECREF(key);
437437
return NULL;
438438
}

0 commit comments

Comments
 (0)