summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-08-29 04:40:24 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-08-29 04:40:24 (GMT)
commit2eca440c8dff47f1de8efb166f1db9c76b54eadd (patch)
treed2d20637f3b508f10924916bb6058b38afda1a59 /Modules
parent3bd844e695c8295c23d64d816bd763543cc9728f (diff)
downloadcpython-2eca440c8dff47f1de8efb166f1db9c76b54eadd.zip
cpython-2eca440c8dff47f1de8efb166f1db9c76b54eadd.tar.gz
cpython-2eca440c8dff47f1de8efb166f1db9c76b54eadd.tar.bz2
Get rid of some more cases of backquotes. parsermodule.c doesn't compile
but looks like that was a problem before this change.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/parsermodule.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index e33197e..3b94ca5 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -2404,11 +2404,6 @@ validate_atom(node *tree)
if (res && (nch == 3))
res = validate_dictmaker(CHILD(tree, 1));
break;
- case BACKQUOTE:
- res = ((nch == 3)
- && validate_testlist1(CHILD(tree, 1))
- && validate_ntype(CHILD(tree, 2), BACKQUOTE));
- break;
case NAME:
case NUMBER:
res = (nch == 1);