]> granicus.if.org Git - python/commitdiff
SF Patch (but with no patch) 472555 Remove trailing common in enumeration.
authorTim Peters <tim.peters@gmail.com>
Thu, 18 Oct 2001 20:49:35 +0000 (20:49 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 18 Oct 2001 20:49:35 +0000 (20:49 +0000)
Some AIX compiler didn't like the trailing comma at the end of the
why_code enum decl.

Python/ceval.c

index b0371aa447186a22e9c1765995bc2d69f16af4a6..b70773434965600f004d821a4104e1b3b9a0effc 100644 (file)
@@ -470,7 +470,7 @@ enum why_code {
                WHY_RETURN,     /* 'return' statement */
                WHY_BREAK,      /* 'break' statement */
                WHY_CONTINUE,   /* 'continue' statement */
-               WHY_YIELD,      /* 'yield' operator */
+               WHY_YIELD       /* 'yield' operator */
 };
 
 static enum why_code do_raise(PyObject *, PyObject *, PyObject *);