]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47070: Add _PyBytes_Repeat() (GH-31999)
authorPieter Eendebak <pieter.eendebak@gmail.com>
Mon, 28 Mar 2022 08:43:45 +0000 (10:43 +0200)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 08:43:45 +0000 (04:43 -0400)
commit850687df47b03e98c1433e6e70e71a8921eb4454
treeac852f75711ba9aa84959895dbf6778f2cceb7bb
parent86384cf83f96fcaec03e2ad6516e2e24f20d3b92
bpo-47070: Add _PyBytes_Repeat() (GH-31999)

Use it where appropriate: the repeat functions of `array.array`, `bytes`, `bytearray`, and `str`.
Include/internal/pycore_bytesobject.h
Misc/NEWS.d/next/Core and Builtins/2022-03-19-21-50-59.bpo-47070.wPcsQh.rst [new file with mode: 0644]
Modules/arraymodule.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/unicodeobject.c