summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-10-02 19:47:50 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-10-02 19:47:50 (GMT)
commit32a66a0410674c23f00937b6bd5a0c9ea17d7e6b (patch)
tree3a3e227be797fc2e8afcde7c110f54b84e1be1d1 /Python
parente489db8f2592850be34950baea4e5aa3117f1bee (diff)
downloadcpython-32a66a0410674c23f00937b6bd5a0c9ea17d7e6b.zip
cpython-32a66a0410674c23f00937b6bd5a0c9ea17d7e6b.tar.gz
cpython-32a66a0410674c23f00937b6bd5a0c9ea17d7e6b.tar.bz2
Fixed a couple more C99 comments and one occurence of inline.
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 331ad6c..6a970bb 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -377,7 +377,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");
@@ -800,8 +800,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 */
};