Skip to content

Commit 4255d69

Browse files
author
Anselm Kruis
committed
Stackless issue python#237: Fix doc-string of tasklet.throw
The 4th argument has been changed from immediate=True to pending=False a long time ago. (cherry picked from commit 12b78b0)
1 parent 5595eec commit 4255d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Stackless/module/taskletobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ tasklet_setup(PyObject *self, PyObject *args, PyObject *kwds)
12801280

12811281

12821282
PyDoc_STRVAR(tasklet_throw__doc__,
1283-
"tasklet.throw(exc, val=None, tb=None, immediate=True) -- raise an exception for the tasklet.\n\
1283+
"tasklet.throw(exc, val=None, tb=None, pending=False) -- raise an exception for the tasklet.\n\
12841284
'exc', 'val' and 'tb' have the same semantics as the 'raise' statement of the Python(r) language.\n\
12851285
If 'pending' is True, the tasklet is not immediately activated, just\n\
12861286
merely made runnable, ready to raise the exception when run.");

0 commit comments

Comments
 (0)