Commits

Ronald Oussoren  committed 68c59e2

use PyTuple_GET_ITEM instead of PyTuple_GetItem

  • Participants
  • Parent commits b56c365
  • Branches pyobjc-ancient

Comments (0)

Files changed (1)

File Modules/objc/method-imp.m

 		return NULL;
 	}
 
-	pyself = PyTuple_GetItem(args, 0);
+	pyself = PyTuple_GET_ITEM(args, 0);
 	if (pyself == NULL) {
 		return NULL;
 	}
 {
 	int r;
 
+
 	r = PyObjC_RegisterMethodMapping(
 			nil, 
 			@selector(instanceMethodForSelector:),