summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 4ab6581..be08a59 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -1549,7 +1549,7 @@ ag_getframe(PyAsyncGenObject *ag, void *Py_UNUSED(ignored))
static PyObject *
ag_getcode(PyGenObject *gen, void *Py_UNUSED(ignored))
{
- return _gen_getcode(gen, "ag__code");
+ return _gen_getcode(gen, "ag_code");
}
static PyGetSetDef async_gen_getsetlist[] = {