summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-01-26 14:47:27 (GMT)
committerMeador Inge <meadori@gmail.com>2012-01-26 14:47:27 (GMT)
commitc9e7ef7d70f531864ffef222ff72ccf75a9425c5 (patch)
tree4075b06a1e59901898f51ef847d7942c9205c428 /Doc
parent7f2b576875ce7cab03cdbea3984edbd801045a24 (diff)
parent65992c1c01115166375e1c6d8484f053919e30da (diff)
downloadcpython-c9e7ef7d70f531864ffef222ff72ccf75a9425c5.zip
cpython-c9e7ef7d70f531864ffef222ff72ccf75a9425c5.tar.gz
cpython-c9e7ef7d70f531864ffef222ff72ccf75a9425c5.tar.bz2
- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ctypes.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 8a22e94..44f8c20 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -1823,8 +1823,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)
@@ -1841,8 +1839,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()