diff options
Diffstat (limited to 'Modules/svmodule.c')
-rw-r--r-- | Modules/svmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/svmodule.c b/Modules/svmodule.c index fb58f19..3845e20 100644 --- a/Modules/svmodule.c +++ b/Modules/svmodule.c @@ -954,6 +954,10 @@ void initsv(void) { PyObject *m, *d; + + if (PyErr_WarnPy3k("the sv module has been removed in " + "Python 3.0", 2) < 0) + return; m = Py_InitModule("sv", sv_methods); if (m == NULL) |