summaryrefslogtreecommitdiffstats
path: root/Modules/svmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/svmodule.c')
-rw-r--r--Modules/svmodule.c4
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)