diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-30 23:16:59 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-30 23:16:59 (GMT) |
commit | 2219e0a37e8dc7d4518b7e3958e918fdac217e07 (patch) | |
tree | 757da636ef998cdd1f2ab234844373c854443fd8 /Python/ceval.c | |
parent | 9e5bd6c54473961336aeb5bfa1568870861f9053 (diff) | |
download | cpython-2219e0a37e8dc7d4518b7e3958e918fdac217e07.zip cpython-2219e0a37e8dc7d4518b7e3958e918fdac217e07.tar.gz cpython-2219e0a37e8dc7d4518b7e3958e918fdac217e07.tar.bz2 |
PyUnicode_FromObject() reuses PyUnicode_Copy()
* PyUnicode_Copy() is faster than substring()
* Fix also a compiler warning
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions