[Python-checkins] cpython: break out switch at correct place

benjamin.peterson python-checkins at python.org
Mon Jan 16 23:44:17 CET 2012


http://hg.python.org/cpython/rev/953d6ee29464
changeset:   74460:953d6ee29464
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Jan 16 17:44:12 2012 -0500
summary:
  break out switch at correct place

files:
  Python/ast.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Python/ast.c b/Python/ast.c
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -822,8 +822,8 @@
                 }
 
                 res = Interactive(stmts, arena);
-                break;
             }
+            break;
         default:
             PyErr_Format(PyExc_SystemError,
                          "invalid node %d for PyAST_FromNode", TYPE(n));

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list