summaryrefslogtreecommitdiff
path: root/Python/_warnings.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/_warnings.c')
-rw-r--r--Python/_warnings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c
index f3b2286e69..bddd44cec6 100644
--- a/Python/_warnings.c
+++ b/Python/_warnings.c
@@ -839,9 +839,9 @@ create_filter(PyObject *category, const char *action)
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;