File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -884,16 +884,16 @@ \subsection{Unicode Objects \label{unicodeObjects}}
884884
885885\begin {cfuncdesc }{PyObject*}{PyUnicode_FromWideChar}{const wchar_t *w,
886886 int size}
887- Create a Unicode object from the \ctype {whcar_t } buffer \var {w} of
887+ Create a Unicode object from the \ctype {wchar_t } buffer \var {w} of
888888 the given size. Returns \NULL {} on failure.
889889\end {cfuncdesc }
890890
891891\begin {cfuncdesc }{int}{PyUnicode_AsWideChar}{PyUnicodeObject *unicode,
892892 wchar_t *w,
893893 int size}
894- Copies the Unicode object contents into the \ctype {whcar_t } buffer
895- \var {w}. At most \var {size} \ctype {whcar_t } characters are copied.
896- Returns the number of \ctype {whcar_t } characters copied or -1 in
894+ Copies the Unicode object contents into the \ctype {wchar_t } buffer
895+ \var {w}. At most \var {size} \ctype {wchar_t } characters are copied.
896+ Returns the number of \ctype {wchar_t } characters copied or -1 in
897897 case of an error.
898898\end {cfuncdesc }
899899
You can’t perform that action at this time.
0 commit comments