[pygobject/benzea/tmp] fixup! async: Add a new async type that is an awaitable for a _finish call
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/benzea/tmp] fixup! async: Add a new async type that is an awaitable for a _finish call
- Date: Fri, 26 Nov 2021 14:22:22 +0000 (UTC)
commit 81b4514d457a5580c9d9e7d03852dce2698ad186
Author: Benjamin Berg <bberg redhat com>
Date: Fri Nov 26 15:17:08 2021 +0100
fixup! async: Add a new async type that is an awaitable for a _finish call
gi/pygi-async.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gi/pygi-async.c b/gi/pygi-async.c
index d40a609d..56b55ad2 100644
--- a/gi/pygi-async.c
+++ b/gi/pygi-async.c
@@ -157,8 +157,7 @@ async_add_done_callback (PyGIAsync *self, PyObject *args, PyObject *kwargs)
else
Py_INCREF(callback.context);
#else
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O:add_done_callback", NULL,
- &callback.func))
+ if (!PyArg_ParseTuple(args, "O:add_done_callback", &callback.func))
return NULL;
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]