[Python-checkins] cpython: Fix minor formatting nits and remove unnecessary comment.

raymond.hettinger python-checkins at python.org
Sat Mar 21 09:42:16 CET 2015


https://hg.python.org/cpython/rev/8fc4b9d3d3d0
changeset: 95112:8fc4b9d3d3d0
user: Raymond Hettinger <python at rcn.com>
date: Sat Mar 21 01:42:10 2015 -0700
summary:
 Fix minor formatting nits and remove unnecessary comment.
files:
 Modules/_collectionsmodule.c | 7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -64,7 +64,7 @@
 Py_ssize_t rightindex; /* in range(BLOCKLEN) */
 size_t state; /* incremented whenever the indices move */
 Py_ssize_t maxlen;
- PyObject *weakreflist; /* List of weak references */
+ PyObject *weakreflist;
 } dequeobject;
 
 static PyTypeObject deque_type;
@@ -1274,7 +1274,6 @@
 (objobjproc)deque_contains, /* sq_contains */
 (binaryfunc)deque_inplace_concat, /* sq_inplace_concat */
 0, /* sq_inplace_repeat */
-
 };
 
 /* deque object ********************************************************/
@@ -1296,7 +1295,7 @@
 {"copy", (PyCFunction)deque_copy,
 METH_NOARGS, copy_doc},
 {"count", (PyCFunction)deque_count,
- METH_O, count_doc},
+ METH_O, count_doc},
 {"extend", (PyCFunction)deque_extend,
 METH_O, extend_doc},
 {"extendleft", (PyCFunction)deque_extendleft,
@@ -1309,7 +1308,7 @@
 METH_NOARGS, pop_doc},
 {"popleft", (PyCFunction)deque_popleft,
 METH_NOARGS, popleft_doc},
- {"__reduce__", (PyCFunction)deque_reduce,
+ {"__reduce__", (PyCFunction)deque_reduce,
 METH_NOARGS, reduce_doc},
 {"remove", (PyCFunction)deque_remove,
 METH_O, remove_doc},
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /