Skip to content

Instantly share code, notes, and snippets.

@isaacsanders
Created September 6, 2012 12:52
Show Gist options
  • Save isaacsanders/3655949 to your computer and use it in GitHub Desktop.
Save isaacsanders/3655949 to your computer and use it in GitHub Desktop.
Python error that I don't understand.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "image.py", line 22, in pixels
pixels.append(pixel.Pixel(__pixel__[0], __pixel__[1], __pixel__[2]))
TypeError: __init__() takes exactly 3 arguments (4 given)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment