diff options
Diffstat (limited to 'Modules/almodule.c')
-rw-r--r-- | Modules/almodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/almodule.c b/Modules/almodule.c index 0a45d2e0c0..7f48fffed4 100644 --- a/Modules/almodule.c +++ b/Modules/almodule.c @@ -1994,6 +1994,10 @@ inital(void) { PyObject *m, *d, *x; + if (PyErr_WarnPy3k("the al module has been removed in " + "Python 3.0", 2) < 0) + return; + /* Create the module and add the functions */ m = Py_InitModule4("al", al_methods, al_module_documentation, |