diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/ctypes.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index fd6422c..0c1a93c 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -330,10 +330,9 @@ property:: 10 b'Hi\x00lo\x00\x00\x00\x00\x00' >>> -The :func:`create_string_buffer` function replaces the :func:`c_buffer` function -(which is still available as an alias), as well as the :func:`c_string` function -from earlier ctypes releases. To create a mutable memory block containing -unicode characters of the C type :c:type:`wchar_t` use the +The :func:`create_string_buffer` function replaces the old :func:`c_buffer` +function (which is still available as an alias). To create a mutable memory +block containing unicode characters of the C type :c:type:`wchar_t`, use the :func:`create_unicode_buffer` function. |