diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-12 06:56:56 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-12 06:56:56 (GMT) |
commit | 017749c33d652b08e2e7c5fb4f4ab8315ab4f644 (patch) | |
tree | e1bc1a0a3277cd6e85b45ab9e25038d600454526 | |
parent | a5a80cb4a46b031641f56493dbf4821d4f3560b0 (diff) | |
download | cpython-017749c33d652b08e2e7c5fb4f4ab8315ab4f644.zip cpython-017749c33d652b08e2e7c5fb4f4ab8315ab4f644.tar.gz cpython-017749c33d652b08e2e7c5fb4f4ab8315ab4f644.tar.bz2 |
wrap docstrings so they are less than 80 columns. add spaces after commas.
-rw-r--r-- | Objects/genobject.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c index 7cec290..f5d0a5e 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -106,7 +106,8 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc) } PyDoc_STRVAR(send_doc, -"send(arg) -> send 'arg' into generator, return next yielded value or raise StopIteration."); +"send(arg) -> send 'arg' into generator,\n\ +return next yielded value or raise StopIteration."); static PyObject * gen_send(PyGenObject *gen, PyObject *arg) @@ -203,7 +204,8 @@ gen_del(PyObject *self) PyDoc_STRVAR(throw_doc, -"throw(typ[,val[,tb]]) -> raise exception in generator, return next yielded value or raise StopIteration."); +"throw(typ[,val[,tb]]) -> raise exception in generator,\n\ +return next yielded value or raise StopIteration."); static PyObject * gen_throw(PyGenObject *gen, PyObject *args) @@ -259,7 +261,7 @@ gen_throw(PyGenObject *gen, PyObject *args) goto failed_throw; } - PyErr_Restore(typ,val,tb); + PyErr_Restore(typ, val, tb); return gen_send_ex(gen, Py_None, 1); failed_throw: |