diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-08 18:15:14 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-08 18:15:14 (GMT) |
commit | 80bb9d92e3fdf671cb4f8ffeaadcaa1dedbe7876 (patch) | |
tree | fb283f3e2052729f7e1380f2b9c49b122d3fec05 /Lib/imputil.py | |
parent | f8105ceec7c9e97dc46bde392f5e1e46ccc02d1a (diff) | |
download | cpython-80bb9d92e3fdf671cb4f8ffeaadcaa1dedbe7876.zip cpython-80bb9d92e3fdf671cb4f8ffeaadcaa1dedbe7876.tar.gz cpython-80bb9d92e3fdf671cb4f8ffeaadcaa1dedbe7876.tar.bz2 |
Deprecate the imputil module for removal in 3.0.
Diffstat (limited to 'Lib/imputil.py')
-rw-r--r-- | Lib/imputil.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/imputil.py b/Lib/imputil.py index 675a634..0eba435 100644 --- a/Lib/imputil.py +++ b/Lib/imputil.py @@ -9,6 +9,9 @@ Exported classes: DynLoadSuffixImporter """ +from warnings import warnpy3k +warnpy3k("the imputil module has been removed in Python 3.0", stacklevel=2) +del warnpy3k # note: avoid importing non-builtin modules import imp ### not available in JPython? |