@@ -3370,13 +3370,12 @@ The attributes are read only.");
33703370
33713371static PyStructSequence_Field gmp_info_fields [] = {
33723372 {"bits_per_limb" , "size of a limb in bits" },
3373- {"nail_bits" , "number of bits left unused at the top of each limb" },
33743373 {"sizeof_limb" , "size in bytes of the C type used to represent a limb" },
33753374 {"version" , "the GNU GMP version" },
33763375 {NULL }};
33773376
33783377static PyStructSequence_Desc gmp_info_desc = {
3379- "gmp.gmplib_info" , gmp_info__doc__ , gmp_info_fields , 4 };
3378+ "gmp.gmplib_info" , gmp_info__doc__ , gmp_info_fields , 3 };
33803379
33813380PyMODINIT_FUNC
33823381PyInit_gmp (void )
@@ -3420,9 +3419,8 @@ PyInit_gmp(void)
34203419 /* LCOV_EXCL_STOP */
34213420 }
34223421 PyStructSequence_SET_ITEM (gmp_info , 0 , PyLong_FromLong (GMP_LIMB_BITS ));
3423- PyStructSequence_SET_ITEM (gmp_info , 1 , PyLong_FromLong (GMP_NAIL_BITS ));
3424- PyStructSequence_SET_ITEM (gmp_info , 2 , PyLong_FromLong (sizeof (mp_limb_t )));
3425- PyStructSequence_SET_ITEM (gmp_info , 3 , PyUnicode_FromString (gmp_version ));
3422+ PyStructSequence_SET_ITEM (gmp_info , 1 , PyLong_FromLong (sizeof (mp_limb_t )));
3423+ PyStructSequence_SET_ITEM (gmp_info , 2 , PyUnicode_FromString (gmp_version ));
34263424 if (PyErr_Occurred ()) {
34273425 /* LCOV_EXCL_START */
34283426 Py_DECREF (gmp_info );
0 commit comments