[Python-checkins] cpython (3.3): Make indentation consistent and remove dead commented-out code.
eli.bendersky
python-checkins at python.org
Tue Jan 1 00:34:56 CET 2013
http://hg.python.org/cpython/rev/3ca72d4e9762
changeset: 81178:3ca72d4e9762
branch: 3.3
parent: 81173:d89891f3f769
user: Eli Bendersky <eliben at gmail.com>
date: Mon Dec 31 15:34:20 2012 -0800
summary:
Make indentation consistent and remove dead commented-out code.
files:
Modules/arraymodule.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -2114,7 +2114,7 @@
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},
@@ -2122,9 +2122,9 @@
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},
@@ -2142,14 +2142,12 @@
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,
@@ -2158,7 +2156,7 @@
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},
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list