mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 13:35:31 +02:00
Implement #15
This commit is contained in:
16
PythonHome/Lib/lib2to3/fixes/fix_imports2.py
Normal file
16
PythonHome/Lib/lib2to3/fixes/fix_imports2.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user