mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Deprecate the imputil module for removal in 3.0.
This commit is contained in:
parent
f8105ceec7
commit
80bb9d92e3
4 changed files with 27 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue