mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
#24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela.
This commit is contained in:
parent
2a97f8a6d1
commit
ee2a392e6a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ from _ctypes import FUNCFLAG_CDECL as _FUNCFLAG_CDECL, \
|
|||
def create_string_buffer(init, size=None):
|
||||
"""create_string_buffer(aBytes) -> character array
|
||||
create_string_buffer(anInteger) -> character array
|
||||
create_string_buffer(aString, anInteger) -> character array
|
||||
create_string_buffer(aBytes, anInteger) -> character array
|
||||
"""
|
||||
if isinstance(init, bytes):
|
||||
if size is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue