Cleanup import.c
* Replace PyUnicode_RPartition() with PyUnicode_FindChar() and
PyUnicode_Substring() to avoid the creation of a temporary tuple.
* Use PyUnicode_FromFormat() to build a string and avoid the single_dot ('.')
singleton
Thanks Serhiy Storchaka for your review. V
Victor Stinner committed
744c34e2ea91ba8f9e945bbeba121c7e95063056
Parent: 03e6061