mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove unused variable and call to PyModule_GetDict().
This commit is contained in:
parent
acee69faf8
commit
d63e504d33
1 changed files with 1 additions and 2 deletions
|
@ -529,13 +529,12 @@ static struct PyMethodDef SHA_functions[] = {
|
|||
DL_EXPORT(void)
|
||||
initsha(void)
|
||||
{
|
||||
PyObject *d, *m;
|
||||
PyObject *m;
|
||||
|
||||
SHAtype.ob_type = &PyType_Type;
|
||||
m = Py_InitModule("sha", SHA_functions);
|
||||
|
||||
/* Add some symbolic constants to the module */
|
||||
d = PyModule_GetDict(m);
|
||||
insint("blocksize", 1); /* For future use, in case some hash
|
||||
functions require an integral number of
|
||||
blocks */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue