diff Python/_warnings.c @ 49386:642f20b22577 2.6

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. ........
author Christian Heimes <christian@cheimes.de>
date Thu, 02 Oct 2008 19:49:47 +0000
parents d563621d76db
children 130f1911d146 a60facc9f7cf
line wrap: on
line diff
--- a/Python/_warnings.c	Thu Oct 02 19:26:56 2008 +0000
+++ b/Python/_warnings.c	Thu Oct 02 19:49:47 2008 +0000
@@ -377,7 +377,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");
@@ -800,8 +800,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 */
 };