summaryrefslogtreecommitdiffstats
path: root/Lib/toaiff.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/toaiff.py')
-rw-r--r--Lib/toaiff.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/toaiff.py b/Lib/toaiff.py
index 3c8a02b..3a2b80c 100644
--- a/Lib/toaiff.py
+++ b/Lib/toaiff.py
@@ -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