summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2016-01-09 14:08:24 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2016-01-09 14:08:24 (GMT)
commitee2a392e6a06d4334b6fb3b5a80e99471dace8a6 (patch)
treecac4ae1b6ed6b10a00fc1202e5840323ab4fc0ee
parent2a97f8a6d1fec1a19b23f159f40d79dbeac406d0 (diff)
downloadcpython-ee2a392e6a06d4334b6fb3b5a80e99471dace8a6.zip
cpython-ee2a392e6a06d4334b6fb3b5a80e99471dace8a6.tar.gz
cpython-ee2a392e6a06d4334b6fb3b5a80e99471dace8a6.tar.bz2
#24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela.
-rw-r--r--Lib/ctypes/__init__.py2
1 files changed, 1 insertions, 1 deletions
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: