@@ -1607,7 +1607,7 @@ map_next(PyObject *self)
16071607 // ValueError: map() argument 3 is shorter than arguments 1-2
16081608 const char * plural = i == 1 ? " " : "s 1-" ;
16091609 PyErr_Format (PyExc_ValueError ,
1610- "map() argument %d is shorter than argument%s%d " ,
1610+ "map() argument %zd is shorter than argument%s%zd " ,
16111611 i + 1 , plural , i );
16121612 goto exit_no_result ;
16131613 }
@@ -1618,7 +1618,7 @@ map_next(PyObject *self)
16181618 Py_DECREF (val );
16191619 const char * plural = i == 1 ? " " : "s 1-" ;
16201620 PyErr_Format (PyExc_ValueError ,
1621- "map() argument %d is longer than argument%s%d " ,
1621+ "map() argument %zd is longer than argument%s%zd " ,
16221622 i + 1 , plural , i );
16231623 goto exit_no_result ;
16241624 }
@@ -3307,7 +3307,7 @@ zip_next(PyObject *self)
33073307 // ValueError: zip() argument 3 is shorter than arguments 1-2
33083308 const char * plural = i == 1 ? " " : "s 1-" ;
33093309 return PyErr_Format (PyExc_ValueError ,
3310- "zip() argument %d is shorter than argument%s%d " ,
3310+ "zip() argument %zd is shorter than argument%s%zd " ,
33113311 i + 1 , plural , i );
33123312 }
33133313 for (i = 1 ; i < tuplesize ; i ++ ) {
@@ -3317,7 +3317,7 @@ zip_next(PyObject *self)
33173317 Py_DECREF (item );
33183318 const char * plural = i == 1 ? " " : "s 1-" ;
33193319 return PyErr_Format (PyExc_ValueError ,
3320- "zip() argument %d is longer than argument%s%d " ,
3320+ "zip() argument %zd is longer than argument%s%zd " ,
33213321 i + 1 , plural , i );
33223322 }
33233323 if (PyErr_Occurred ()) {
0 commit comments