mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
e20bd19f86
commit
bfb0cf822b
4 changed files with 16 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue