mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.
This commit is contained in:
parent
eaac4f0d30
commit
65992c1c01
3 changed files with 4 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue