Skip to content

Commit 4c96cd5

Browse files
committed
misc / clinic update
1 parent afac338 commit 4c96cd5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Modules/arraymodule.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,10 @@ array_resize(arrayobject *self, Py_ssize_t newsize)
307307

308308
/****************************************************************************
309309
Get and Set functions for each type.
310-
A Get function takes an arrayobject* and an integer index, returning the
310+
A Get function takes a char* to the data and an integer index, returning the
311311
array value at that index wrapped in an appropriate PyObject*.
312-
A Set function takes an arrayobject, integer index, and PyObject*; sets
312+
A Set function takes an arrayobject, a char* to the data, integer index, and
313+
PyObject*; sets
313314
the array value at that index to the raw C data extracted from the PyObject*,
314315
and returns 0 if successful, else nonzero on failure (PyObject* not of an
315316
appropriate type or value).
@@ -1903,7 +1904,7 @@ components (the real part, followed by imaginary part) is preserved.
19031904

19041905
static PyObject *
19051906
array_array_byteswap_impl(arrayobject *self)
1906-
/*[clinic end generated code: output=5f8236cbdf0d90b5 input=aafda275f48191d0]*/
1907+
/*[clinic end generated code: output=5f8236cbdf0d90b5 input=1bcd5b5c6b2d8fa0]*/
19071908
{
19081909
char *p;
19091910
Py_ssize_t i;

Modules/clinic/arraymodule.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)