diff options
author | Christian Heimes <christian@cheimes.de> | 2008-10-02 19:49:47 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-10-02 19:49:47 (GMT) |
commit | 4d8a6f4834ff91e8e77ce3a089b0ce4d6ef171e8 (patch) | |
tree | 99b92170510ec3485675a00c2f35f3431f0cc798 /Python | |
parent | a9f397d6b5208ffa41c27fa55ad8881ea95c0418 (diff) | |
download | cpython-4d8a6f4834ff91e8e77ce3a089b0ce4d6ef171e8.zip cpython-4d8a6f4834ff91e8e77ce3a089b0ce4d6ef171e8.tar.gz cpython-4d8a6f4834ff91e8e77ce3a089b0ce4d6ef171e8.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.
........
Diffstat (limited to 'Python')
-rw-r--r-- | Python/_warnings.c | 6 |
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 */ }; |