summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-10-02 19:56:01 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-10-02 19:56:01 (GMT)
commit1a8501c64837368a6973ff3f9850b652888c281a (patch)
tree0884a11d8b60a9d6db6262ab91b5e70e00934368 /Python
parentc472532c0cd056a23f4d50bd9a03d0fdea856a0a (diff)
downloadcpython-1a8501c64837368a6973ff3f9850b652888c281a.zip
cpython-1a8501c64837368a6973ff3f9850b652888c281a.tar.gz
cpython-1a8501c64837368a6973ff3f9850b652888c281a.tar.bz2
Merged revisions 66748 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66748 | christian.heimes | 2008-10-02 21:47:50 +0200 (Thu, 02 Oct 2008) | 1 line Fixed a couple more C99 comments and one occurence of inline. ........ + another // comment in bytesobject
Diffstat (limited to 'Python')
-rw-r--r--Python/_warnings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index 84558d1..43e6b80 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -382,7 +382,7 @@ warn_explicit(PyObject *category, PyObject *message,
}
}
- if (rc == 1) // Already warned for this module. */
+ if (rc == 1) /* Already warned for this module. */
goto return_none;
if (rc == 0) {
PyObject *show_fxn = get_warnings_attr("showwarning");
@@ -776,8 +776,8 @@ static PyMethodDef warnings_functions[] = {
warn_doc},
{"warn_explicit", (PyCFunction)warnings_warn_explicit,
METH_VARARGS | METH_KEYWORDS, warn_explicit_doc},
- // XXX(brett.cannon): add showwarning?
- // XXX(brett.cannon): Reasonable to add formatwarning?
+ /* XXX(brett.cannon): add showwarning? */
+ /* XXX(brett.cannon): Reasonable to add formatwarning? */
{NULL, NULL} /* sentinel */
};