Skip to content

Commit e1348e0

Browse files
committed
Fix context default in C code
1 parent 50e6b01 commit e1348e0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Modules/_asynciomodule.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -2003,15 +2003,16 @@ _asyncio.Task.__init__
20032003
*
20042004
loop: object = None
20052005
name: object = None
2006-
context: object = None
2006+
context: object(c_default='NULL') = None
20072007
20082008
A coroutine wrapped in a Future.
20092009
[clinic start generated code]*/
20102010

20112011
static int
20122012
_asyncio_Task___init___impl(TaskObj *self, PyObject *coro, PyObject *loop,
20132013
PyObject *name, PyObject *context)
2014-
/*[clinic end generated code: output=49ac96fe33d0e5c7 input=924522490c8ce825]*/
2014+
/*[clinic end generated code: output=49ac96fe33d0e5c7 input=f45c94aefa9c235a]*/
2015+
20152016
{
20162017
if (future_init((FutureObj*)self, loop)) {
20172018
return -1;

Modules/clinic/_asynciomodule.c.h

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)