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
diff --git a/Misc/NEWS b/Misc/NEWS
index 083b68c..c7b36e0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -238,6 +238,9 @@
- Issue #11386: bytearray.pop() now throws IndexError when the bytearray is
empty, instead of OverflowError.
+- Issue #12380: The rjust, ljust and center methods of bytes and bytearray
+ now accept a bytearray argument.
+
Library
-------
@@ -1282,6 +1285,8 @@
- Issue #12173: The first argument of PyImport_ImportModuleLevel is now `const
char *` instead of `char *`.
+- Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format.
+
Documentation
-------------
@@ -6680,4 +6685,4 @@
----
-**(For information about older versions, consult the HISTORY file.)**
\ No newline at end of file
+**(For information about older versions, consult the HISTORY file.)**