mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
parent
b9279bc88f
commit
790465fd90
21 changed files with 642 additions and 414 deletions
|
@ -336,6 +336,8 @@ the system's :ctype:`wchar_t`.
|
|||
.. cfunction:: PyObject* PyUnicode_FromWideChar(const wchar_t *w, Py_ssize_t size)
|
||||
|
||||
Create a Unicode object from the :ctype:`wchar_t` buffer *w* of the given size.
|
||||
Passing -1 as the size indicates that the function must itself compute the length,
|
||||
using wcslen.
|
||||
Return *NULL* on failure.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue