summaryrefslogtreecommitdiffstats
path: root/Modules/binascii.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r--Modules/binascii.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c
index eab90b3..4a2c268 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -1335,6 +1335,8 @@ initbinascii(void)
/* Create the module and add the functions */
m = Py_InitModule("binascii", binascii_module_methods);
+ if (m == NULL)
+ return;
d = PyModule_GetDict(m);
x = PyString_FromString(doc_binascii);