mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Deprecate the sv module as per PEP 4.
This commit is contained in:
parent
43e5ef49b1
commit
ac861b5a17
4 changed files with 10 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue