mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
The linuxaudidev module has been deprecated for removal in Python 3.0.
This commit is contained in:
parent
27508d4eb9
commit
df0a717037
5 changed files with 10 additions and 2 deletions
|
@ -469,6 +469,10 @@ void
|
|||
initlinuxaudiodev(void)
|
||||
{
|
||||
PyObject *m;
|
||||
|
||||
if (PyErr_WarnPy3k("the linuxaudiodev module has been removed in "
|
||||
"Python 3.0; use the ossaudiodev module instead", 2) < 0)
|
||||
return;
|
||||
|
||||
m = Py_InitModule("linuxaudiodev", linuxaudiodev_methods);
|
||||
if (m == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue