diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2016-01-09 14:08:24 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2016-01-09 14:08:24 (GMT) |
commit | ee2a392e6a06d4334b6fb3b5a80e99471dace8a6 (patch) | |
tree | cac4ae1b6ed6b10a00fc1202e5840323ab4fc0ee | |
parent | 2a97f8a6d1fec1a19b23f159f40d79dbeac406d0 (diff) | |
download | cpython-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__.py | 2 |
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: |