diff options
author | Victor Stinner <vstinner@python.org> | 2024-10-09 22:04:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 22:04:50 (GMT) |
commit | 1877543d03d323d581b5fc0f19eff501926ba151 (patch) | |
tree | d6cca815d46047e22f343bb92bd732d22bf42e0f /Objects/enumobject.c | |
parent | ee3167b9787bf9424d5637a224233de775450231 (diff) | |
download | cpython-1877543d03d323d581b5fc0f19eff501926ba151.zip cpython-1877543d03d323d581b5fc0f19eff501926ba151.tar.gz cpython-1877543d03d323d581b5fc0f19eff501926ba151.tar.bz2 |
gh-125196: Use PyUnicodeWriter for repr(structseq) (#125219)
Replace the private _PyUnicodeWriter with the public PyUnicodeWriter.
* Avoid temporary PyUnicode_DecodeUTF8(): call
PyUnicodeWriter_WriteUTF8() instead.
* Avoid temporary PyObject_Repr(): call PyUnicodeWriter_WriteRepr()
instead.
Diffstat (limited to 'Objects/enumobject.c')
0 files changed, 0 insertions, 0 deletions