Revise handling of tuple arguments so that the variables names match

those used by compile.c.  (test_grammar now depends on the names)
This commit is contained in:
Jeremy Hylton 2001-04-12 17:33:34 +00:00
parent e20bd19f86
commit bfb0cf822b
4 changed files with 16 additions and 16 deletions

View file

@ -495,7 +495,7 @@ class TupleArg:
def __repr__(self):
return "TupleArg(%s, %s)" % (self.count, self.names)
def getName(self):
return ".nested%d" % self.count
return ".%d" % self.count
def getArgCount(args):
argcount = len(args)