]> granicus.if.org Git - python/commitdiff
#24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela.
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 9 Jan 2016 14:08:24 +0000 (16:08 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 9 Jan 2016 14:08:24 +0000 (16:08 +0200)
Lib/ctypes/__init__.py

index 4cb6d0de27104b8dfb7e3208d626d4393f41e158..dc7458aa9288501be8cd463078038e8c222858c9 100644 (file)
@@ -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: