Deprecate the sv module as per PEP 4.

This commit is contained in:
Brett Cannon 2008-05-12 03:45:59 +00:00
parent 43e5ef49b1
commit ac861b5a17
4 changed files with 10 additions and 1 deletions

View file

@ -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)