#24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela.

This commit is contained in:
Ezio Melotti 2016-01-09 16:08:24 +02:00
parent 2a97f8a6d1
commit ee2a392e6a
1 changed files with 1 additions and 1 deletions

View File

@ -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: