Download lib/python3.9/lib2to3/fixes/fix_imports2.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/lib2to3/fixes/fix_imports2.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/lib2to3/fixes/fix_imports2.py
-
curl -L -o fix_imports2.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/lib2to3/fixes/fix_imports2.py
289 Bytes
| """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 | |