mirror of https://github.com/python/cpython
#24789: fix docstring of ctypes.create_string_buffer. Patch by Matheus Vieira Portela.
This commit is contained in:
parent
2a97f8a6d1
commit
ee2a392e6a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue