[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Strange "syntax error"

Charles Joseph Christie II wrote:
I have come to the decision that this idea would make a great sequel,
But for now I don't want to throw away the work I've already done. So,
without further ado...

I got hit with a syntax error, but I don't see it anywhere. Does
anybody see it?

It's on line 17. I don't see it though...

self.image.blit = (self.image, (0, 0)

One-open, two-open, one-close, uh-oh!
Missing parenthesis usually cause the line immediately after them to be flagged.
Don't always assume the line that Python tells you about is the one causing the problem.