]> granicus.if.org Git - python/commitdiff
Merged revisions 66739 via svnmerge from
authorChristian Heimes <christian@cheimes.de>
Thu, 2 Oct 2008 18:38:11 +0000 (18:38 +0000)
committerChristian Heimes <christian@cheimes.de>
Thu, 2 Oct 2008 18:38:11 +0000 (18:38 +0000)
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/
........

Objects/frameobject.c

index 01fb5651dc2361cd16ef17fd03b40a85d125d358..875c6deb8339bd27784fde90883fcdc6ee422a2d 100644 (file)
@@ -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);