diff options
author | Raymond Hettinger <python@rcn.com> | 2015-07-08 18:52:27 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-07-08 18:52:27 (GMT) |
commit | 5d2385ff6f761c9c9a6b68afdcc88322d739e7d1 (patch) | |
tree | 771dd4121763abf552e13c4cc81e9892548518b4 /Objects | |
parent | a327cffd398649400542d5168c2a1c62bc03853f (diff) | |
download | cpython-5d2385ff6f761c9c9a6b68afdcc88322d739e7d1.zip cpython-5d2385ff6f761c9c9a6b68afdcc88322d739e7d1.tar.gz cpython-5d2385ff6f761c9c9a6b68afdcc88322d739e7d1.tar.bz2 |
Neaten-up a little bit.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/setobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index 7c91c38..e6fb46e 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -902,7 +902,7 @@ PyTypeObject PySetIter_Type = { PyObject_GenericGetAttr, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,/* tp_flags */ + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, /* tp_flags */ 0, /* tp_doc */ (traverseproc)setiter_traverse, /* tp_traverse */ 0, /* tp_clear */ @@ -2145,7 +2145,7 @@ static PyMethodDef frozenset_methods[] = { copy_doc}, {"difference", (PyCFunction)set_difference_multi, METH_VARARGS, difference_doc}, - {"intersection",(PyCFunction)set_intersection_multi, METH_VARARGS, + {"intersection", (PyCFunction)set_intersection_multi, METH_VARARGS, intersection_doc}, {"isdisjoint", (PyCFunction)set_isdisjoint, METH_O, isdisjoint_doc}, @@ -2216,7 +2216,7 @@ PyTypeObject PyFrozenSet_Type = { (traverseproc)set_traverse, /* tp_traverse */ (inquiry)set_clear_internal, /* tp_clear */ (richcmpfunc)set_richcompare, /* tp_richcompare */ - offsetof(PySetObject, weakreflist), /* tp_weaklistoffset */ + offsetof(PySetObject, weakreflist), /* tp_weaklistoffset */ (getiterfunc)set_iter, /* tp_iter */ 0, /* tp_iternext */ frozenset_methods, /* tp_methods */ |