diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-04 20:27:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 20:27:23 (GMT) |
commit | e4e5ec18e2f79f9bba439b531ebf89ac148deda0 (patch) | |
tree | 34f87d0127f60cfab21d1d25489ee204714081e7 /Modules | |
parent | 082cff1786d0a6a6500a51e67ab4f8a3a3f2c312 (diff) | |
download | cpython-e4e5ec18e2f79f9bba439b531ebf89ac148deda0.zip cpython-e4e5ec18e2f79f9bba439b531ebf89ac148deda0.tar.gz cpython-e4e5ec18e2f79f9bba439b531ebf89ac148deda0.tar.bz2 |
bpo-40865: Remove unused insint() macro from hash modules (GH-20627)
Automerge-Triggered-By: @tiran
(cherry picked from commit 6ed578f6dbffdec94f62cc2e36d626fc195678d7)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/md5module.c | 3 | ||||
-rw-r--r-- | Modules/sha1module.c | 3 | ||||
-rw-r--r-- | Modules/sha256module.c | 3 | ||||
-rw-r--r-- | Modules/sha512module.c | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/Modules/md5module.c b/Modules/md5module.c index ea2bafb..e4d9db4 100644 --- a/Modules/md5module.c +++ b/Modules/md5module.c @@ -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", diff --git a/Modules/sha1module.c b/Modules/sha1module.c index e066b880..b0656d8 100644 --- a/Modules/sha1module.c +++ b/Modules/sha1module.c @@ -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", diff --git a/Modules/sha256module.c b/Modules/sha256module.c index e0ff9b2..8edb1d5 100644 --- a/Modules/sha256module.c +++ b/Modules/sha256module.c @@ -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", diff --git a/Modules/sha512module.c b/Modules/sha512module.c index 780f8e7..561ef8e 100644 --- a/Modules/sha512module.c +++ b/Modules/sha512module.c @@ -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", |