Mercurial > cpython-lru_cache-weakref
diff Python/_warnings.c @ 49387:86893a397dd0
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
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Thu, 02 Oct 2008 19:56:01 +0000 |
| parents | 3bdc46faef4d |
| children | 287df3a09f35 |
line wrap: on
line diff
--- a/Python/_warnings.c Thu Oct 02 19:10:18 2008 +0000 +++ b/Python/_warnings.c Thu Oct 02 19:56:01 2008 +0000 @@ -382,7 +382,7 @@ } } - 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 @@ 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 */ };
