diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-05-27 09:54:34 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-27 09:54:34 -0600 |
| commit | 9f494d492944c3a6a7a7471b4ad3a025dc7de289 (patch) | |
| tree | 8cca83ea93a0bf38de318278a73155dfe4cbf4f7 /Include/cpython/code.h | |
| parent | 318adeba780851c416505e48a3454cacca831419 (diff) | |
| download | cpython-git-9f494d492944c3a6a7a7471b4ad3a025dc7de289.tar.gz | |
bpo-43693: Add _PyCode_New(). (gh-26375)
This is an internal-only API that helps us manage the many values used to create a code object.
https://bugs.python.org/issue43693
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 990f36787c..5c0fae47e7 100644 --- a/Include/cpython/code.h +++ b/Include/cpython/code.h @@ -64,7 +64,7 @@ struct PyCodeObject { /* These fields are set with computed values on new code objects. */ - Py_ssize_t *co_cell2arg; /* Maps cell vars which are arguments. */ + int *co_cell2arg; /* Maps cell vars which are arguments. */ // These are redundant but offer some performance benefit. int co_nlocalsplus; /* number of local + cell + free variables */ int co_nlocals; /* number of local variables */ |
