Decompyles classes and imports

This commit is contained in:
Michael Hansen 2009-07-27 03:00:55 +00:00
commit 835b391979
5 changed files with 177 additions and 36 deletions

View file

@ -258,7 +258,10 @@ void print_const(PycRef<PycObject> obj, PycModule* mod)
print_const(*it, mod);
}
}
printf(")");
if (values.size() == 1)
printf(",)");
else
printf(")");
}
break;
case PycObject::TYPE_LIST: