We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7bce44 commit 5cb6efeCopy full SHA for 5cb6efe
Objects/iterobject.c
@@ -453,7 +453,8 @@ anextawaitable_throw(PyObject *op, PyObject *args)
453
static PyObject *
454
anextawaitable_close(PyObject *op, PyObject *args)
455
{
456
- // TODO(picnixz): what happens if we pass an argument to close()?
+ // TODO(picnixz): investigate why close() is marked with METH_VARARGS
457
+ // despite its docs indicating that it should be using METH_NOARGS.
458
anextawaitableobject *obj = anextawaitableobject_CAST(op);
459
return anextawaitable_proxy(obj, "close", args);
460
}
0 commit comments