]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
authorEli Bendersky <eliben@gmail.com>
Fri, 29 Jul 2011 04:05:08 +0000 (07:05 +0300)
committerEli Bendersky <eliben@gmail.com>
Fri, 29 Jul 2011 04:05:08 +0000 (07:05 +0300)
commit906b88fb2a52725e78deeb8076a52671107e2af1
treeb3a9397d8e65a13d275731f7447088389c0a3526
parent66d2be898611f32e3840025055f2cd9b92b9f19c
Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
As a side effect, this now allows the rjust, ljust and center methods of
bytes and bytearray to accept a bytearray argument.

Patch by Petri Lehtinen
Doc/c-api/arg.rst
Lib/test/test_bytes.py
Lib/test/test_getargs2.py
Misc/NEWS
Modules/_testcapimodule.c
Python/getargs.c