cpython/Lib/lib2to3/fixes/fix_imports2.py

17 lines
290 B
Python
Raw Normal View History

"""Fix incompatible imports and module references that must be fixed after
fix_imports."""
from . import fix_imports
MAPPING = {
'whichdb': 'dbm',
'anydbm': 'dbm',
}
class FixImports2(fix_imports.FixImports):
order = "post"
mapping = MAPPING