diff Python/Python-ast.c @ 81039:7d69d04522e3

Replace IOError with OSError (#16715)
author Andrew Svetlov <andrew.svetlov@gmail.com>
date Tue, 25 Dec 2012 16:47:37 +0200
parents 03f92a9f0875
children 7c5c678e4164
line wrap: on
line diff
--- a/Python/Python-ast.c	Tue Dec 25 15:47:41 2012 +0200
+++ b/Python/Python-ast.c	Tue Dec 25 16:47:37 2012 +0200
@@ -2066,7 +2066,6 @@
      *arena)
 {
         expr_ty p;
-        assert(PyUnicode_CompareWithASCIIString(id, "True") && PyUnicode_CompareWithASCIIString(id, "False") && PyUnicode_CompareWithASCIIString(id, "None"));
         if (!id) {
                 PyErr_SetString(PyExc_ValueError,
                                 "field id is required for Name");