diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-05-20 09:36:13 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-05-20 09:36:13 (GMT) |
commit | 744c34e2ea91ba8f9e945bbeba121c7e95063056 (patch) | |
tree | c828f0158fb77d05421f074ef31af98dd29f179c /configure | |
parent | 03e6061956d10586b70eb78f3d76ce0952ee5bd8 (diff) | |
download | cpython-744c34e2ea91ba8f9e945bbeba121c7e95063056.zip cpython-744c34e2ea91ba8f9e945bbeba121c7e95063056.tar.gz cpython-744c34e2ea91ba8f9e945bbeba121c7e95063056.tar.bz2 |
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.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions