mirror of
https://github.com/python/cpython.git
synced 2026-06-19 09:34:39 -04:00
168e117e0a
_Py_char2wchar() callers usually need the result size in characters. Since it's trivial to compute it in _Py_char2wchar() (O(1) whereas wcslen() is O(n)), add an option to get it.