mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Make indentation consistent and remove dead commented-out code.
This commit is contained in:
parent
5051ca887c
commit
03ab4d3581
1 changed files with 5 additions and 7 deletions
|
@ -2114,7 +2114,7 @@ static PyGetSetDef array_getsets [] = {
|
||||||
static PyMethodDef array_methods[] = {
|
static PyMethodDef array_methods[] = {
|
||||||
{"append", (PyCFunction)array_append, METH_O,
|
{"append", (PyCFunction)array_append, METH_O,
|
||||||
append_doc},
|
append_doc},
|
||||||
{"buffer_info", (PyCFunction)array_buffer_info, METH_NOARGS,
|
{"buffer_info", (PyCFunction)array_buffer_info, METH_NOARGS,
|
||||||
buffer_info_doc},
|
buffer_info_doc},
|
||||||
{"byteswap", (PyCFunction)array_byteswap, METH_NOARGS,
|
{"byteswap", (PyCFunction)array_byteswap, METH_NOARGS,
|
||||||
byteswap_doc},
|
byteswap_doc},
|
||||||
|
@ -2122,9 +2122,9 @@ static PyMethodDef array_methods[] = {
|
||||||
copy_doc},
|
copy_doc},
|
||||||
{"count", (PyCFunction)array_count, METH_O,
|
{"count", (PyCFunction)array_count, METH_O,
|
||||||
count_doc},
|
count_doc},
|
||||||
{"__deepcopy__",(PyCFunction)array_copy, METH_O,
|
{"__deepcopy__", (PyCFunction)array_copy, METH_O,
|
||||||
copy_doc},
|
copy_doc},
|
||||||
{"extend", (PyCFunction)array_extend, METH_O,
|
{"extend", (PyCFunction)array_extend, METH_O,
|
||||||
extend_doc},
|
extend_doc},
|
||||||
{"fromfile", (PyCFunction)array_fromfile, METH_VARARGS,
|
{"fromfile", (PyCFunction)array_fromfile, METH_VARARGS,
|
||||||
fromfile_doc},
|
fromfile_doc},
|
||||||
|
@ -2142,14 +2142,12 @@ static PyMethodDef array_methods[] = {
|
||||||
insert_doc},
|
insert_doc},
|
||||||
{"pop", (PyCFunction)array_pop, METH_VARARGS,
|
{"pop", (PyCFunction)array_pop, METH_VARARGS,
|
||||||
pop_doc},
|
pop_doc},
|
||||||
{"__reduce_ex__", (PyCFunction)array_reduce_ex, METH_O,
|
{"__reduce_ex__", (PyCFunction)array_reduce_ex, METH_O,
|
||||||
reduce_doc},
|
reduce_doc},
|
||||||
{"remove", (PyCFunction)array_remove, METH_O,
|
{"remove", (PyCFunction)array_remove, METH_O,
|
||||||
remove_doc},
|
remove_doc},
|
||||||
{"reverse", (PyCFunction)array_reverse, METH_NOARGS,
|
{"reverse", (PyCFunction)array_reverse, METH_NOARGS,
|
||||||
reverse_doc},
|
reverse_doc},
|
||||||
/* {"sort", (PyCFunction)array_sort, METH_VARARGS,
|
|
||||||
sort_doc},*/
|
|
||||||
{"tofile", (PyCFunction)array_tofile, METH_O,
|
{"tofile", (PyCFunction)array_tofile, METH_O,
|
||||||
tofile_doc},
|
tofile_doc},
|
||||||
{"tolist", (PyCFunction)array_tolist, METH_NOARGS,
|
{"tolist", (PyCFunction)array_tolist, METH_NOARGS,
|
||||||
|
@ -2158,7 +2156,7 @@ static PyMethodDef array_methods[] = {
|
||||||
tostring_doc},
|
tostring_doc},
|
||||||
{"tobytes", (PyCFunction)array_tobytes, METH_NOARGS,
|
{"tobytes", (PyCFunction)array_tobytes, METH_NOARGS,
|
||||||
tobytes_doc},
|
tobytes_doc},
|
||||||
{"tounicode", (PyCFunction)array_tounicode, METH_NOARGS,
|
{"tounicode", (PyCFunction)array_tounicode, METH_NOARGS,
|
||||||
tounicode_doc},
|
tounicode_doc},
|
||||||
{"__sizeof__", (PyCFunction)array_sizeof, METH_NOARGS,
|
{"__sizeof__", (PyCFunction)array_sizeof, METH_NOARGS,
|
||||||
sizeof_doc},
|
sizeof_doc},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue