#1316: remove redundant PyLong_Check calls when PyInt_Check was already called.
diff --git a/Python/getargs.c b/Python/getargs.c
index 4bcc175..0b25d4b 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -696,9 +696,7 @@
 	case 'k': { /* long sized bitfield */
 		unsigned long *p = va_arg(*p_va, unsigned long *);
 		unsigned long ival;
-		if (PyInt_Check(arg))
-			ival = PyInt_AsUnsignedLongMask(arg);
-		else if (PyLong_Check(arg))
+		if (PyLong_Check(arg))
 			ival = PyLong_AsUnsignedLongMask(arg);
 		else
 			return converterr("integer<k>", arg, msgbuf, bufsize);