Hello,

Would someone tell me how can I add a new entry in the MAPPING dict in
the lib2to3/fixes/fix_imports.py that does the following:

"import A" gets fixed as "import C.D as A"

Right now it is fixing by doing "import C.D" and changing several
other lines in the code to use this new "C.D" name. I wanted to avoid
these changes if possible.


Regards,

-- 
-- Guilherme H. Polo Goncalves
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to