diff options
author | Thomas Heller <theller@ctypes.org> | 2002-04-29 17:28:43 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2002-04-29 17:28:43 (GMT) |
commit | 541703b18f6eaff9ffdc4d101cb692a4362da42f (patch) | |
tree | 0163eaa478143d7741a87696b57323570b585cb0 | |
parent | b803f7013ceb99d65caa1f0d4186643854c05112 (diff) | |
download | cpython-541703b18f6eaff9ffdc4d101cb692a4362da42f.zip cpython-541703b18f6eaff9ffdc4d101cb692a4362da42f.tar.gz cpython-541703b18f6eaff9ffdc4d101cb692a4362da42f.tar.bz2 |
Typo: whcar_t should be wchar_t.
Bugfix candidate? Don't know how this is handled in the docs.
-rw-r--r-- | Doc/api/concrete.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index dae853a..8316b2d 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -884,16 +884,16 @@ following functions. Support is optimized if Python's own \begin{cfuncdesc}{PyObject*}{PyUnicode_FromWideChar}{const wchar_t *w, int size} - Create a Unicode object from the \ctype{whcar_t} buffer \var{w} of + Create a Unicode object from the \ctype{wchar_t} buffer \var{w} of the given size. Returns \NULL{} on failure. \end{cfuncdesc} \begin{cfuncdesc}{int}{PyUnicode_AsWideChar}{PyUnicodeObject *unicode, wchar_t *w, int size} - Copies the Unicode object contents into the \ctype{whcar_t} buffer - \var{w}. At most \var{size} \ctype{whcar_t} characters are copied. - Returns the number of \ctype{whcar_t} characters copied or -1 in + Copies the Unicode object contents into the \ctype{wchar_t} buffer + \var{w}. At most \var{size} \ctype{wchar_t} characters are copied. + Returns the number of \ctype{wchar_t} characters copied or -1 in case of an error. \end{cfuncdesc} |