3 ms·
It's not that powerful, if I'm reading it correctly: https://github.com/python/cpython/commit/34df10a9a16b38d54421eeeaf73ec89828563be7 https://github.com/python
by duckerude 6y ago
It's not that powerful, if I'm reading it correctly: https://github.com/python/cpython/commit/34df10a9a16b38d54421eeeaf73ec89828563be7 https://github.com/python/cpython/commit/34df10a9a16b38d5442...
The sprintf is to a temporary buffer that's converted to a PyUnicode object before returning, so subsequent portions of the string are written elsewhere.