mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fixed multi-arg appends.
This commit is contained in:
parent
9de988315a
commit
34d11f0670
12 changed files with 15 additions and 14 deletions
|
|
@ -494,7 +494,7 @@ class ObjectCompiler:
|
|||
if not name:
|
||||
self.fp.write("# XXXX %s element %s not found!!\n"%(cname, `ecode`))
|
||||
else:
|
||||
elist.append(name, ename)
|
||||
elist.append((name, ename))
|
||||
|
||||
self.fp.write("%s._propdict = {\n"%cname)
|
||||
for n in plist:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue