summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-10-02 18:38:11 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-10-02 18:38:11 (GMT)
commitfefeca53eebe8665c08ac0c041639ada3c9f9446 (patch)
treebbad140f4653eaf6353392f2fb2fb8229e0283a0
parentecc3336f44bb61ac2158164fe064ac3b4c624987 (diff)
downloadcpython-fefeca53eebe8665c08ac0c041639ada3c9f9446.zip
cpython-fefeca53eebe8665c08ac0c041639ada3c9f9446.tar.gz
cpython-fefeca53eebe8665c08ac0c041639ada3c9f9446.tar.bz2
Merged revisions 66739 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66739 | christian.heimes | 2008-10-02 20:33:41 +0200 (Thu, 02 Oct 2008) | 1 line 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 01fb565..875c6de 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -522,7 +522,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 PyLong_FromSsize_t(res);