christian.heimes
2008-10-02 18:38:12 UTC
Author: christian.heimes
Date: Thu Oct 2 20:38:11 2008
New Revision: 66741
Log:
Merged revisions 66739 via svnmerge from
svn+ssh://pythondev at 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/
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Objects/frameobject.c
Modified: python/branches/py3k/Objects/frameobject.c
==============================================================================
--- python/branches/py3k/Objects/frameobject.c (original)
+++ python/branches/py3k/Objects/frameobject.c Thu Oct 2 20:38:11 2008
@@ -522,7 +522,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 PyLong_FromSsize_t(res);
Date: Thu Oct 2 20:38:11 2008
New Revision: 66741
Log:
Merged revisions 66739 via svnmerge from
svn+ssh://pythondev at 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/
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Objects/frameobject.c
Modified: python/branches/py3k/Objects/frameobject.c
==============================================================================
--- python/branches/py3k/Objects/frameobject.c (original)
+++ python/branches/py3k/Objects/frameobject.c Thu Oct 2 20:38:11 2008
@@ -522,7 +522,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 PyLong_FromSsize_t(res);