diff options
author | Eli Bendersky <eliben@gmail.com> | 2012-12-31 23:34:43 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2012-12-31 23:34:43 (GMT) |
commit | 0485314305b87924205159f47dc25ae330ec5ae5 (patch) | |
tree | 91f7e5568161755169d7b8e88243f9a5ba50e237 /Modules/arraymodule.c | |
parent | 87e63a273c53cc7cd35f0d41d1fdc7a9fe186055 (diff) | |
parent | 03ab4d35819d15bd2a724a61a2337065fb05a3d3 (diff) | |
download | cpython-0485314305b87924205159f47dc25ae330ec5ae5.zip cpython-0485314305b87924205159f47dc25ae330ec5ae5.tar.gz cpython-0485314305b87924205159f47dc25ae330ec5ae5.tar.bz2 |
Make indentation consistent and remove dead commented-out code.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index fd6580d..a0e89d4 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -2111,7 +2111,7 @@ static PyGetSetDef array_getsets [] = { static PyMethodDef array_methods[] = { {"append", (PyCFunction)array_append, METH_O, append_doc}, - {"buffer_info", (PyCFunction)array_buffer_info, METH_NOARGS, + {"buffer_info", (PyCFunction)array_buffer_info, METH_NOARGS, buffer_info_doc}, {"byteswap", (PyCFunction)array_byteswap, METH_NOARGS, byteswap_doc}, @@ -2119,9 +2119,9 @@ static PyMethodDef array_methods[] = { copy_doc}, {"count", (PyCFunction)array_count, METH_O, count_doc}, - {"__deepcopy__",(PyCFunction)array_copy, METH_O, + {"__deepcopy__", (PyCFunction)array_copy, METH_O, copy_doc}, - {"extend", (PyCFunction)array_extend, METH_O, + {"extend", (PyCFunction)array_extend, METH_O, extend_doc}, {"fromfile", (PyCFunction)array_fromfile, METH_VARARGS, fromfile_doc}, @@ -2139,14 +2139,12 @@ static PyMethodDef array_methods[] = { insert_doc}, {"pop", (PyCFunction)array_pop, METH_VARARGS, pop_doc}, - {"__reduce_ex__", (PyCFunction)array_reduce_ex, METH_O, + {"__reduce_ex__", (PyCFunction)array_reduce_ex, METH_O, reduce_doc}, {"remove", (PyCFunction)array_remove, METH_O, remove_doc}, {"reverse", (PyCFunction)array_reverse, METH_NOARGS, reverse_doc}, -/* {"sort", (PyCFunction)array_sort, METH_VARARGS, - sort_doc},*/ {"tofile", (PyCFunction)array_tofile, METH_O, tofile_doc}, {"tolist", (PyCFunction)array_tolist, METH_NOARGS, @@ -2155,7 +2153,7 @@ static PyMethodDef array_methods[] = { tostring_doc}, {"tobytes", (PyCFunction)array_tobytes, METH_NOARGS, tobytes_doc}, - {"tounicode", (PyCFunction)array_tounicode, METH_NOARGS, + {"tounicode", (PyCFunction)array_tounicode, METH_NOARGS, tounicode_doc}, {"__sizeof__", (PyCFunction)array_sizeof, METH_NOARGS, sizeof_doc}, |