diff options
author | Christian Heimes <christian@cheimes.de> | 2008-10-02 18:33:41 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-10-02 18:33:41 +0000 |
commit | 25584b1b7452bd5fd6b9d0599aae6c20626bdf0e (patch) | |
tree | 83a0157780941c567d5babbcdf35764fc1f3eeb2 | |
parent | f738f0b5771db8dd6d896131193b9d3d5f1d931f (diff) | |
download | cpython-git-25584b1b7452bd5fd6b9d0599aae6c20626bdf0e.tar.gz |
Fixed a comment to C89 style as of http://drj11.wordpress.com/2008/10/02/python-and-bragging-about-c89/
-rw-r--r-- | Objects/frameobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index 079c83171b..489e8bbe1f 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -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); |