[Python-checkins] cpython (3.6): delete dead code

benjamin.peterson python-checkins at python.org
Mon Sep 19 02:50:11 EDT 2016


https://hg.python.org/cpython/rev/c1d9052996f1
changeset:   103954:c1d9052996f1
branch:      3.6
parent:      103952:d2f86d9c53b9
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Sep 18 23:49:51 2016 -0700
summary:
  delete dead code

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


diff --git a/Python/ast.c b/Python/ast.c
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -3149,9 +3149,6 @@
                          "unexpected flow_stmt: %d", TYPE(ch));
             return NULL;
     }
-
-    PyErr_SetString(PyExc_SystemError, "unhandled flow statement");
-    return NULL;
 }
 
 static alias_ty

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


More information about the Python-checkins mailing list