Skip to content

Commit 3630e3d

Browse files
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 c4c27ee commit 3630e3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Stackless/module/taskletobject.c‎

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

11321132

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

0 commit comments

Comments
 (0)