mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00

svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r68306 | benjamin.peterson | 2009-01-04 12:27:19 -0600 (Sun, 04 Jan 2009) | 1 line fix_urllib: add mappings for the url parsing functions ........ r68307 | benjamin.peterson | 2009-01-04 12:30:01 -0600 (Sun, 04 Jan 2009) | 1 line remove duplicated function ........ r68308 | benjamin.peterson | 2009-01-04 12:50:34 -0600 (Sun, 04 Jan 2009) | 1 line turtle is no longer renamed ........ r68340 | georg.brandl | 2009-01-05 02:11:39 -0600 (Mon, 05 Jan 2009) | 2 lines Fix undefined locals in parse_tokens(). ........ r68368 | benjamin.peterson | 2009-01-06 17:56:10 -0600 (Tue, 06 Jan 2009) | 1 line fix typo (thanks to Robert Lehmann) ........ r68422 | benjamin.peterson | 2009-01-08 20:01:03 -0600 (Thu, 08 Jan 2009) | 1 line run the imports fixers after fix_import, so fix_import doesn't try to make stdlib renames into relative imports #4876 ........
16 lines
289 B
Python
16 lines
289 B
Python
"""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
|