Tobias Blass <tobiasbl...@gmx.net> writes:

> Ok it works now. So the problem was that python requires 'self' to be
> the first parameter?

More accurately, the instance is passed as the first parameter, and
Python doesn't care what you name it. (Your fellow programmers do care,
though, so please stick to the ‘self’ convention despite this freedom.)

-- 
 \           “The lift is being fixed for the day. During that time we |
  `\            regret that you will be unbearable.” —hotel, Bucharest |
_o__)                                                                  |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to