commit | fa24d9a71ca6b4d045ed1e56bc930c7031db17e7 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Fri May 09 05:32:42 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Fri May 09 05:32:42 2008 +0000 |
tree | 79c62e0f0087e9276035be1a7a6037336553fab2 | |
parent | 3c759144340dc8f7548d5f62e0d195ed8e689a12 [diff] [blame] |
Deprecate the toaiff module for removal in 3.0.
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 @@ 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