GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: a ruby-to-pyc compiler
Clone URL: git://github.com/why/unholy.git
 * python/Kernel.py: allow puts to accept varargs.
why (author)
Mon May 05 08:31:16 -0700 2008
commit  260c68c75ef81e442a99d78e2dd9d75da19dc321
tree    36afd435c91ef736071219479a09977d1a48c0b8
parent  a37e77f42aa3bfb1a9645b7826ee7b738dd225e5
...
1
2
 
 
...
 
 
1
2
0
@@ -1,2 +1,2 @@
0
-def puts(str):
0
- print str
0
+def puts(*args):
0
+ for x in args: print x

Comments

    No one has commented yet.