diff options
author | Christian Heimes <christian@cheimes.de> | 2008-10-02 18:33:41 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-10-02 18:33:41 (GMT) |
commit | 25584b1b7452bd5fd6b9d0599aae6c20626bdf0e (patch) | |
tree | 83a0157780941c567d5babbcdf35764fc1f3eeb2 /Objects | |
parent | f738f0b5771db8dd6d896131193b9d3d5f1d931f (diff) | |
download | cpython-25584b1b7452bd5fd6b9d0599aae6c20626bdf0e.zip cpython-25584b1b7452bd5fd6b9d0599aae6c20626bdf0e.tar.gz cpython-25584b1b7452bd5fd6b9d0599aae6c20626bdf0e.tar.bz2 |
Fixed a comment to C89 style as of http://drj11.wordpress.com/2008/10/02/python-and-bragging-about-c89/
Diffstat (limited to 'Objects')
-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 079c831..489e8bb 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); |