From: Ezio Melotti Date: Sat, 9 Jan 2016 14:08:24 +0000 (+0200) Subject: #24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela. X-Git-Tag: v3.6.0a1~807^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee2a392e6a06d4334b6fb3b5a80e99471dace8a6;p=python #24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela. --- diff --git a/Lib/ctypes/__init__.py b/Lib/ctypes/__init__.py index 4cb6d0de27..dc7458aa92 100644 --- a/Lib/ctypes/__init__.py +++ b/Lib/ctypes/__init__.py @@ -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: