mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
fix typo in async generator code field name ag_code
(#102448)
This commit is contained in:
parent
1e703a4733
commit
e499680100
1 changed files with 1 additions and 1 deletions
|
@ -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[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue