What steps will reproduce the problem?
1. matrix = [
[1, 2, 3, 4],
[5, 6, 7, 8],
[9, 10, 11, 12],
]
2. transposed = zip(*matrix)
3.
What is the expected output? What do you see instead?
[(1, 5, 9), (2, 6, 10), (3, 7, 11), (4, 8, 12)]
I get an error instead:
ExecutionError: arguments[i].__item__ is not a function
module '__main__' line 23
transposed = zip(*matrix) @ file:///home/fdion/brython/brython.js:3580
Please use labels and text to provide additional information.
Original issue reported on code.google.com by francois...@gmail.com on 23 Jan 2013 at 5:13
Original issue reported on code.google.com by
francois...@gmail.com
on 23 Jan 2013 at 5:13