mirror of https://github.com/python/cpython
bpo-40865: Remove unused insint() macro from hash modules (GH-20627)
Automerge-Triggered-By: @tiran
This commit is contained in:
parent
7a280197f4
commit
6ed578f6db
|
@ -552,9 +552,6 @@ static struct PyMethodDef MD5_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _md5module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_md5",
|
||||
|
|
|
@ -529,9 +529,6 @@ static struct PyMethodDef SHA1_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _sha1module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_sha1",
|
||||
|
|
|
@ -684,9 +684,6 @@ static struct PyMethodDef SHA_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _sha256module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_sha256",
|
||||
|
|
|
@ -741,9 +741,6 @@ static struct PyMethodDef SHA_functions[] = {
|
|||
|
||||
/* Initialize this module. */
|
||||
|
||||
#define insint(n,v) { PyModule_AddIntConstant(m,n,v); }
|
||||
|
||||
|
||||
static struct PyModuleDef _sha512module = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"_sha512",
|
||||
|
|
Loading…
Reference in New Issue