diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-25 16:47:37 +0200 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-25 16:47:37 +0200 |
commit | 45d1bc39881473d6fec76c4627070ac0b89d4b4c (patch) | |
tree | ffa31c1c94f04716c23c5a877e085151abfbcf8b /Python/Python-ast.c | |
parent | 5d30ade43e4a2d711483f3326b7f40865ccbc71e (diff) | |
download | cpython-45d1bc39881473d6fec76c4627070ac0b89d4b4c.tar.gz |
Replace IOError with OSError (#16715)
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r-- | Python/Python-ast.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index 20b7acb886..b940417823 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -2066,7 +2066,6 @@ Name(identifier id, expr_context_ty ctx, int lineno, int col_offset, PyArena *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"); |