diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-05-09 13:33:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 13:33:40 (GMT) |
commit | ca95edf177e3c10e10d7011ed52619b1312cf15e (patch) | |
tree | 34c0d8088f6f65b1d8890874391ee008d3f6229e /Modules | |
parent | c21f82876089f3e9a7b1e706c029664b799fa659 (diff) | |
download | cpython-ca95edf177e3c10e10d7011ed52619b1312cf15e.zip cpython-ca95edf177e3c10e10d7011ed52619b1312cf15e.tar.gz cpython-ca95edf177e3c10e10d7011ed52619b1312cf15e.tar.bz2 |
gh-104240: return code unit metadata from codegen (#104300)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testinternalcapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c index 40ad6f8..8009dca 100644 --- a/Modules/_testinternalcapi.c +++ b/Modules/_testinternalcapi.c @@ -670,7 +670,7 @@ _testinternalcapi_assemble_code_object_impl(PyObject *module, umd.u_cellvars = PyDict_GetItemString(metadata, "cellvars"); umd.u_freevars = PyDict_GetItemString(metadata, "freevars"); - assert(PyList_Check(umd.u_consts)); + assert(PyDict_Check(umd.u_consts)); assert(PyDict_Check(umd.u_names)); assert(PyDict_Check(umd.u_varnames)); assert(PyDict_Check(umd.u_cellvars)); |