From 25584b1b7452bd5fd6b9d0599aae6c20626bdf0e Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 2 Oct 2008 18:33:41 +0000 Subject: Fixed a comment to C89 style as of http://drj11.wordpress.com/2008/10/02/python-and-bragging-about-c89/ --- Objects/frameobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12