summaryrefslogtreecommitdiff
path: root/src/stream_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_template.c')
-rw-r--r--src/stream_template.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/stream_template.c b/src/stream_template.c
index 6384788..da7baa6 100644
--- a/src/stream_template.c
+++ b/src/stream_template.c
@@ -317,7 +317,7 @@ void
#endif
_MODULE_NAME (void)
{
- PyObject *m, *d, *x;
+ PyObject *m;
#ifdef IS_PY3K
/* PyType_Ready automatically fills in ob_type with &PyType_Type if it's not already set */
@@ -334,11 +334,6 @@ void
m = Py_InitModule("Crypto.Cipher." _MODULE_STRING, modulemethods);
#endif
- /* Add some symbolic constants to the module */
- d = PyModule_GetDict(m);
- x = PyUnicode_FromString(_MODULE_STRING ".error");
- PyDict_SetItemString(d, "error", x);
-
PyModule_AddIntConstant(m, "block_size", BLOCK_SIZE);
PyModule_AddIntConstant(m, "key_size", KEY_SIZE);