mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Fixed a comment to C89 style as of http://drj11.wordpress.com/2008/10/02/python-and-bragging-about-c89/
This commit is contained in:
parent
f738f0b577
commit
25584b1b74
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ frame_sizeof(PyFrameObject *f)
|
|||
nfrees = PyTuple_GET_SIZE(f->f_code->co_freevars);
|
||||
extras = f->f_code->co_stacksize + f->f_code->co_nlocals +
|
||||
ncells + nfrees;
|
||||
// subtract one as it is already included in PyFrameObject
|
||||
/* subtract one as it is already included in PyFrameObject */
|
||||
res = sizeof(PyFrameObject) + (extras-1) * sizeof(PyObject *);
|
||||
|
||||
return PyInt_FromSsize_t(res);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue