master
/ miniconda3 / lib / python3.11 / lib2to3 / fixes / fix_imports2.py

fix_imports2.py @74036c5 raw · history · blame

"""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