From ee2a392e6a06d4334b6fb3b5a80e99471dace8a6 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sat, 9 Jan 2016 16:08:24 +0200 Subject: #24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela. --- Lib/ctypes/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ctypes/__init__.py b/Lib/ctypes/__init__.py index 4cb6d0d..dc7458a 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: -- cgit v0.12