Skip to content

Commit 3d85690

Browse files
committed
reduce diff
1 parent 494565a commit 3d85690

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Modules/blake2module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ static PyGetSetDef py_blake2b_getsetters[] = {
895895
{"name", py_blake2b_get_name, NULL, NULL, NULL},
896896
{"block_size", py_blake2b_get_block_size, NULL, NULL, NULL},
897897
{"digest_size", py_blake2b_get_digest_size, NULL, NULL, NULL},
898-
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
898+
{NULL} /* Sentinel */
899899
};
900900

901901

Modules/md5module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static PyGetSetDef MD5_getseters[] = {
248248
{"block_size", MD5_get_block_size, NULL, NULL, NULL},
249249
{"name", MD5_get_name, NULL, NULL, NULL},
250250
{"digest_size", md5_get_digest_size, NULL, NULL, NULL},
251-
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
251+
{NULL} /* Sentinel */
252252
};
253253

254254
static PyType_Slot md5_type_slots[] = {

Modules/sha1module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static PyGetSetDef SHA1_getseters[] = {
241241
{"block_size", SHA1_get_block_size, NULL, NULL, NULL},
242242
{"name", SHA1_get_name, NULL, NULL, NULL},
243243
{"digest_size", sha1_get_digest_size, NULL, NULL, NULL},
244-
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
244+
{NULL} /* Sentinel */
245245
};
246246

247247
static PyType_Slot sha1_type_slots[] = {

Modules/sha2module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,14 +492,14 @@ static PyGetSetDef SHA256_getseters[] = {
492492
{"block_size", SHA256_get_block_size, NULL, NULL, NULL},
493493
{"name", SHA256_get_name, NULL, NULL, NULL},
494494
{"digest_size", SHA256_get_digest_size, NULL, NULL, NULL},
495-
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
495+
{NULL} /* Sentinel */
496496
};
497497

498498
static PyGetSetDef SHA512_getseters[] = {
499499
{"block_size", SHA512_get_block_size, NULL, NULL, NULL},
500500
{"name", SHA512_get_name, NULL, NULL, NULL},
501501
{"digest_size", SHA512_get_digest_size, NULL, NULL, NULL},
502-
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
502+
{NULL} /* Sentinel */
503503
};
504504

505505
static PyType_Slot sha256_types_slots[] = {

Modules/sha3module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ static PyGetSetDef SHA3_getseters[] = {
386386
{"_capacity_bits", SHA3_get_capacity_bits, NULL, NULL, NULL},
387387
{"_rate_bits", SHA3_get_rate_bits, NULL, NULL, NULL},
388388
{"_suffix", SHA3_get_suffix, NULL, NULL, NULL},
389-
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
389+
{NULL} /* Sentinel */
390390
};
391391

392392
#define SHA3_TYPE_SLOTS(type_slots_obj, type_doc, type_methods, type_getseters) \

0 commit comments

Comments
 (0)