diff Python/_warnings.c @ 58336:1f84ddafb6a3 legacy-trunk

Remove C++/C99-style comments.
author Brett Cannon <bcannon@gmail.com>
date Fri, 15 Jan 2010 01:31:45 +0000
parents d3bea1669f2d
children 8c7179125803
line wrap: on
line diff
--- a/Python/_warnings.c	Fri Jan 15 00:18:00 2010 +0000
+++ b/Python/_warnings.c	Fri Jan 15 01:31:45 2010 +0000
@@ -839,9 +839,9 @@
 static PyObject *
 init_filters(void)
 {
-    // Don't silence DeprecationWarning if -3 was used.
+    /* Don't silence DeprecationWarning if -3 was used. */
     PyObject *filters = PyList_New(Py_Py3kWarningFlag ? 3 : 4);
-    unsigned int pos = 0;  // Post-incremented in each use.
+    unsigned int pos = 0;  /* Post-incremented in each use. */
     unsigned int x;
     const char *bytes_action;