summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/pyassem.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-04-12 17:33:34 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-04-12 17:33:34 (GMT)
commitbfb0cf822bedb25c38fa7f411af83d6654872dd4 (patch)
tree702092697a211956c2a864f25a17625d21d45a77 /Lib/compiler/pyassem.py
parente20bd19f86bfcb4f3862cdfa5f56c9e48012cced (diff)
downloadcpython-bfb0cf822bedb25c38fa7f411af83d6654872dd4.zip
cpython-bfb0cf822bedb25c38fa7f411af83d6654872dd4.tar.gz
cpython-bfb0cf822bedb25c38fa7f411af83d6654872dd4.tar.bz2
Revise handling of tuple arguments so that the variables names match
those used by compile.c. (test_grammar now depends on the names)
Diffstat (limited to 'Lib/compiler/pyassem.py')
-rw-r--r--Lib/compiler/pyassem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/pyassem.py b/Lib/compiler/pyassem.py
index 447a8e7..15e91f4 100644
--- a/Lib/compiler/pyassem.py
+++ b/Lib/compiler/pyassem.py
@@ -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)