diff options
| author | Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> | 2022-06-25 01:55:18 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-25 01:55:18 +0800 |
| commit | 50a5ab2c0bf7bd10d85e80c9f71a7b7245a0682a (patch) | |
| tree | 7a1db90f15efc86854a72de9172aad4f4a28b173 /Include/cpython/code.h | |
| parent | a91ffcf3fa15ce3884f620c799566aa734412f9d (diff) | |
| download | cpython-git-50a5ab2c0bf7bd10d85e80c9f71a7b7245a0682a.tar.gz | |
gh-93382: Sync up `co_code` changes with 3.11 (GH-94227)
Sync up co_code changes with 3.11 commit 852b4d4bcd12b0b6839a015a262ce976b134f6f3.
Diffstat (limited to 'Include/cpython/code.h')
| -rw-r--r-- | Include/cpython/code.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/code.h b/Include/cpython/code.h index ebc0df9323..595cd9e94f 100644 --- a/Include/cpython/code.h +++ b/Include/cpython/code.h @@ -90,7 +90,7 @@ typedef uint16_t _Py_CODEUNIT; PyObject *co_qualname; /* unicode (qualname, for reference) */ \ PyObject *co_linetable; /* bytes object that holds location info */ \ PyObject *co_weakreflist; /* to support weakrefs to code objects */ \ - void *_co_code; /* cached co_code object/attribute */ \ + PyObject *_co_code; /* cached co_code object/attribute */ \ int _co_firsttraceable; /* index of first traceable instruction */ \ char *_co_linearray; /* array of line offsets */ \ /* Scratch space for extra data relating to the code object. \ |
