]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-129559: Remove extra dot in bytearray.resize AC (GH-140134) (#140143)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 15 Oct 2025 11:06:18 +0000 (13:06 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Oct 2025 11:06:18 +0000 (14:06 +0300)
Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
Objects/bytearrayobject.c
Objects/clinic/bytearrayobject.c.h

index bf30c06af5d8fa4327d317fd04f4b2a30d046180..bb4216ecc5aeac20147a33af841883c7d3650dc8 100644 (file)
@@ -1537,14 +1537,14 @@ bytearray_removesuffix_impl(PyByteArrayObject *self, Py_buffer *suffix)
 /*[clinic input]
 bytearray.resize
     size: Py_ssize_t
-        New size to resize to..
+        New size to resize to.
     /
 Resize the internal buffer of bytearray to len.
 [clinic start generated code]*/
 
 static PyObject *
 bytearray_resize_impl(PyByteArrayObject *self, Py_ssize_t size)
-/*[clinic end generated code: output=f73524922990b2d9 input=75fd4d17c4aa47d3]*/
+/*[clinic end generated code: output=f73524922990b2d9 input=6c9a260ca7f72071]*/
 {
     Py_ssize_t start_size = PyByteArray_GET_SIZE(self);
     int result = PyByteArray_Resize((PyObject *)self, size);
index ffb45ade11f6dc6b9f91e17b5c1ffebd3281c631..6f13865177dde52a6f09b9c08ce038904521c205 100644 (file)
@@ -599,7 +599,7 @@ PyDoc_STRVAR(bytearray_resize__doc__,
 "Resize the internal buffer of bytearray to len.\n"
 "\n"
 "  size\n"
-"    New size to resize to..");
+"    New size to resize to.");
 
 #define BYTEARRAY_RESIZE_METHODDEF    \
     {"resize", (PyCFunction)bytearray_resize, METH_O, bytearray_resize__doc__},
@@ -1796,4 +1796,4 @@ bytearray_sizeof(PyObject *self, PyObject *Py_UNUSED(ignored))
 {
     return bytearray_sizeof_impl((PyByteArrayObject *)self);
 }
-/*[clinic end generated code: output=be6d28193bc96a2c input=a9049054013a1b77]*/
+/*[clinic end generated code: output=fdfe41139c91e409 input=a9049054013a1b77]*/