[Python-checkins] cpython (3.5): #24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira
ezio.melotti
python-checkins at python.org
Sat Jan 9 09:09:36 EST 2016
https://hg.python.org/cpython/rev/1753a28acad4
changeset: 99818:1753a28acad4
branch: 3.5
parent: 99816:3b860ce5bb51
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sat Jan 09 16:08:24 2016 +0200
summary:
#24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela.
files:
Lib/ctypes/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/ctypes/__init__.py b/Lib/ctypes/__init__.py
--- a/Lib/ctypes/__init__.py
+++ b/Lib/ctypes/__init__.py
@@ -47,7 +47,7 @@
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:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list