diff options
author | Meador Inge <meadori@gmail.com> | 2012-01-26 14:44:00 (GMT) |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2012-01-26 14:44:00 (GMT) |
commit | 65992c1c01115166375e1c6d8484f053919e30da (patch) | |
tree | 4030d1d98473eee5b821c6e3860c043536b4e897 /Doc/library/ctypes.rst | |
parent | eaac4f0d30dba8b53b7ebd1e28b31863e871fa6b (diff) | |
download | cpython-65992c1c01115166375e1c6d8484f053919e30da.zip cpython-65992c1c01115166375e1c6d8484f053919e30da.tar.gz cpython-65992c1c01115166375e1c6d8484f053919e30da.tar.bz2 |
- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.
Diffstat (limited to 'Doc/library/ctypes.rst')
-rw-r--r-- | Doc/library/ctypes.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index fce5913..df39c28 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1815,8 +1815,6 @@ Utility functions termination character. An integer can be passed as second argument which allows to specify the size of the array if the length of the bytes should not be used. - If the first parameter is a string, it is converted into a bytes object - according to ctypes conversion rules. .. function:: create_unicode_buffer(init_or_size, size=None) @@ -1833,8 +1831,6 @@ Utility functions allows to specify the size of the array if the length of the string should not be used. - If the first parameter is a bytes object, it is converted into an unicode string - according to ctypes conversion rules. .. function:: DllCanUnloadNow() |