diff options
author | Guido van Rossum <guido@python.org> | 2002-04-03 02:13:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-04-03 02:13:37 (GMT) |
commit | d464107ecf7c53b9a447dd649408bb9900e410ae (patch) | |
tree | 0000352272adc9a324214bb1fe68d231b1aeb1f5 | |
parent | e7fefbf68dc3384b835d38bd8897657d7289f826 (diff) | |
download | cpython-d464107ecf7c53b9a447dd649408bb9900e410ae.zip cpython-d464107ecf7c53b9a447dd649408bb9900e410ae.tar.gz cpython-d464107ecf7c53b9a447dd649408bb9900e410ae.tar.bz2 |
Fold some long lines. Delete blank initial line.
-rw-r--r-- | Objects/typeobject.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index a2fe27c..a3fefe6 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -1,4 +1,3 @@ - /* Type object implementation */ #include "Python.h" @@ -2111,7 +2110,8 @@ PyType_Ready(PyTypeObject *type) PyDict_SetItemString(type->tp_dict, "__doc__", doc); Py_DECREF(doc); } else { - PyDict_SetItemString(type->tp_dict, "__doc__", Py_None); + PyDict_SetItemString(type->tp_dict, + "__doc__", Py_None); } } @@ -3364,7 +3364,8 @@ slot_tp_iter(PyObject *self) PyErr_Clear(); func = lookup_method(self, "__getitem__", &getitem_str); if (func == NULL) { - PyErr_SetString(PyExc_TypeError, "iteration over non-sequence"); + PyErr_SetString(PyExc_TypeError, + "iteration over non-sequence"); return NULL; } Py_DECREF(func); @@ -4068,7 +4069,8 @@ super_getattro(PyObject *self, PyObject *name) Py_INCREF(res); f = res->ob_type->tp_descr_get; if (f != NULL) { - tmp = f(res, su->obj, (PyObject *)starttype); + tmp = f(res, su->obj, + (PyObject *)starttype); Py_DECREF(res); res = tmp; } |