Skip to content

Commit 03ab4d3

Browse files
committed
Make indentation consistent and remove dead commented-out code.
1 parent 5051ca8 commit 03ab4d3

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Modules/arraymodule.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,17 +2114,17 @@ static PyGetSetDef array_getsets [] = {
21142114
static PyMethodDef array_methods[] = {
21152115
{"append", (PyCFunction)array_append, METH_O,
21162116
append_doc},
2117-
{"buffer_info", (PyCFunction)array_buffer_info, METH_NOARGS,
2117+
{"buffer_info", (PyCFunction)array_buffer_info, METH_NOARGS,
21182118
buffer_info_doc},
21192119
{"byteswap", (PyCFunction)array_byteswap, METH_NOARGS,
21202120
byteswap_doc},
21212121
{"__copy__", (PyCFunction)array_copy, METH_NOARGS,
21222122
copy_doc},
21232123
{"count", (PyCFunction)array_count, METH_O,
21242124
count_doc},
2125-
{"__deepcopy__",(PyCFunction)array_copy, METH_O,
2125+
{"__deepcopy__", (PyCFunction)array_copy, METH_O,
21262126
copy_doc},
2127-
{"extend", (PyCFunction)array_extend, METH_O,
2127+
{"extend", (PyCFunction)array_extend, METH_O,
21282128
extend_doc},
21292129
{"fromfile", (PyCFunction)array_fromfile, METH_VARARGS,
21302130
fromfile_doc},
@@ -2142,14 +2142,12 @@ static PyMethodDef array_methods[] = {
21422142
insert_doc},
21432143
{"pop", (PyCFunction)array_pop, METH_VARARGS,
21442144
pop_doc},
2145-
{"__reduce_ex__", (PyCFunction)array_reduce_ex, METH_O,
2145+
{"__reduce_ex__", (PyCFunction)array_reduce_ex, METH_O,
21462146
reduce_doc},
21472147
{"remove", (PyCFunction)array_remove, METH_O,
21482148
remove_doc},
21492149
{"reverse", (PyCFunction)array_reverse, METH_NOARGS,
21502150
reverse_doc},
2151-
/* {"sort", (PyCFunction)array_sort, METH_VARARGS,
2152-
sort_doc},*/
21532151
{"tofile", (PyCFunction)array_tofile, METH_O,
21542152
tofile_doc},
21552153
{"tolist", (PyCFunction)array_tolist, METH_NOARGS,
@@ -2158,7 +2156,7 @@ static PyMethodDef array_methods[] = {
21582156
tostring_doc},
21592157
{"tobytes", (PyCFunction)array_tobytes, METH_NOARGS,
21602158
tobytes_doc},
2161-
{"tounicode", (PyCFunction)array_tounicode, METH_NOARGS,
2159+
{"tounicode", (PyCFunction)array_tounicode, METH_NOARGS,
21622160
tounicode_doc},
21632161
{"__sizeof__", (PyCFunction)array_sizeof, METH_NOARGS,
21642162
sizeof_doc},

0 commit comments

Comments
 (0)