diff options
author | Victor Stinner <vstinner@python.org> | 2025-01-23 01:44:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-23 01:44:43 +0100 |
commit | 8eb9e76b5b2471031d6ad48ee3bc4554bb0067b7 (patch) | |
tree | d98c0799455b081b34739e12d2e7db94e012abfe /Lib/test/test_compile.py | |
parent | 327a257e6ae4ad0e3b6e00b35d24937e4b0a0395 (diff) | |
download | cpython-8eb9e76b5b2471031d6ad48ee3bc4554bb0067b7.tar.gz cpython-8eb9e76b5b2471031d6ad48ee3bc4554bb0067b7.zip |
gh-119182: Use public PyUnicodeWriter in ast_unparse.c (#129208)
Replace the private _PyUnicodeWriter API with the public
PyUnicodeWriter API.
* Add append_char() function.
* Add APPEND_CHAR() and APPEND_CHAR_FINISH() macros.
* Replace APPEND_STR() and APPEND_STR_FINISH() of single character
with APPEND_CHAR() and APPEND_CHAR_FINISH().
Diffstat (limited to 'Lib/test/test_compile.py')
0 files changed, 0 insertions, 0 deletions