summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-10-02 18:33:41 +0000
committerChristian Heimes <christian@cheimes.de>2008-10-02 18:33:41 +0000
commit25584b1b7452bd5fd6b9d0599aae6c20626bdf0e (patch)
tree83a0157780941c567d5babbcdf35764fc1f3eeb2
parentf738f0b5771db8dd6d896131193b9d3d5f1d931f (diff)
downloadcpython-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.c2
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);