/Lib/lib2to3/fixes/fix_imports2.py
http://unladen-swallow.googlecode.com/ · Python · 16 lines · 8 code · 6 blank · 2 comment · 0 complexity · 15274809df396bec14aeafccd2ab9875 MD5 · raw file
- """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):
- run_order = 7
- mapping = MAPPING