[Python-checkins] r66739 - python/trunk/Objects/frameobject.c
christian.heimes
python-checkins at python.org
Thu Oct 2 20:33:42 CEST 2008
Author: christian.heimes
Date: Thu Oct 2 20:33:41 2008
New Revision: 66739
Log:
Fixed a comment to C89 style as of http://drj11.wordpress.com/2008/10/02/python-and-bragging-about-c89/
Modified:
python/trunk/Objects/frameobject.c
Modified: python/trunk/Objects/frameobject.c
==============================================================================
--- python/trunk/Objects/frameobject.c (original)
+++ python/trunk/Objects/frameobject.c Thu Oct 2 20:33:41 2008
@@ -517,7 +517,7 @@
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);
More information about the Python-checkins
mailing list