Deprecate the toaiff module for removal in 3.0.
This commit is contained in:
parent
3c75914434
commit
fa24d9a71c
|
@ -61,6 +61,9 @@ Multimedia
|
|||
or demo. Requires the external program :program:`sox`.
|
||||
|
||||
|
||||
.. warning:: The :mod:`toaiff` module has been removed in 3.0.
|
||||
|
||||
|
||||
.. _undoc-mac-modules:
|
||||
|
||||
Undocumented Mac OS modules
|
||||
|
|
|
@ -7,6 +7,9 @@ Returned filename is either the input filename or a temporary filename;
|
|||
in the latter case the caller must ensure that it is removed.
|
||||
Other temporary files used are removed by the function.
|
||||
"""
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the toaiff module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
import os
|
||||
import tempfile
|
||||
|
|
Loading…
Reference in New Issue