Skip to content

Commit 8d4a250

Browse files
committed
Reformat vectorcall functions to conform to standard coding style.
1 parent 0049db8 commit 8d4a250

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Objects/dictobject.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3287,9 +3287,8 @@ dict_init(PyObject *self, PyObject *args, PyObject *kwds)
32873287
}
32883288

32893289
static PyObject *
3290-
dict_vectorcall(
3291-
PyObject *type, PyObject * const*args,
3292-
size_t nargsf, PyObject *kwnames)
3290+
dict_vectorcall(PyObject *type, PyObject * const*args,
3291+
size_t nargsf, PyObject *kwnames)
32933292
{
32943293
size_t nargs = PyVectorcall_NARGS(nargsf);
32953294
if (nargs > 1) {

Objects/listobject.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,9 +2727,8 @@ list___init___impl(PyListObject *self, PyObject *iterable)
27272727
}
27282728

27292729
static PyObject *
2730-
list_vectorcall(
2731-
PyObject *type, PyObject * const*args,
2732-
size_t nargsf, PyObject *kwnames)
2730+
list_vectorcall(PyObject *type, PyObject * const*args,
2731+
size_t nargsf, PyObject *kwnames)
27332732
{
27342733
if (kwnames && PyTuple_GET_SIZE(kwnames) != 0) {
27352734
PyErr_Format(PyExc_TypeError, "list() takes no keyword arguments");

Objects/rangeobject.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ range_new(PyTypeObject *type, PyObject *args, PyObject *kw)
123123

124124

125125
static PyObject *
126-
range_vectorcall(
127-
PyTypeObject *type, PyObject *const *args,
128-
size_t nargsf, PyObject *kwnames)
126+
range_vectorcall(PyTypeObject *type, PyObject *const *args,
127+
size_t nargsf, PyObject *kwnames)
129128
{
130129
rangeobject *obj;
131130
size_t nargs = PyVectorcall_NARGS(nargsf);

0 commit comments

Comments
 (0)