Open johtso opened 12 years ago
def test(*args): for arg in args: print arg # Works fine: test(*(1, 'test')) # Results in two blank lines: test(*(1, 2)) # Crash! test(*(1, 2, 3))
Thanks for the report. Meanwhile you can make it work by making sure you always pass an array of object to the method:
test(*(of object: 1, 2))
That won't be necessary in the future.