diff options
author | MonadChains <monadchains@gmail.com> | 2022-10-20 13:59:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-20 13:59:10 (GMT) |
commit | c60b3b3cca9cab5f5dab7217660c45ebfdb1d7b8 (patch) | |
tree | 23eeb32958ffcd5544d826d2cc0e3fa25ccea50b /Python | |
parent | e48f9b2b7e73f4a89a9b9c287f3b93dc13a60460 (diff) | |
download | cpython-c60b3b3cca9cab5f5dab7217660c45ebfdb1d7b8.zip cpython-c60b3b3cca9cab5f5dab7217660c45ebfdb1d7b8.tar.gz cpython-c60b3b3cca9cab5f5dab7217660c45ebfdb1d7b8.tar.bz2 |
gh-98421: Clean Up PyObject_Print (GH-98422)
Work on test coverage for `PyObject_Print` made it clear that some lines can't get executed.
Simplify the function by excluding the checks for non-string types.
Also eliminate creating a temporary bytes object.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions