RorrKonn opened this issue on Feb 03, 2009 · 58 posts
odf posted Tue, 10 February 2009 at 2:15 AM
Just in case I wasn't clear: you always call an instance method with one parameter less than declared. If you declare it with one parameter, you call it with none, etc. Your example had an instance method with no declared parameters. That's something you simply don't do in Python.
I'm not sure what you mean by "these are existing class functions". You've given an example with self-defined functions. How does that relate to the SDK? Sorry for nitpicking, but from your example it looked like you might have mistaken an error on your part for a problem in the libraries. So I tried to clarify that.
EDIT: Just saw your edit. Yep, it's one of the few things I really don't like very much about Python. One gets used to it after a while, but it's still not very elegant.
-- I'm not mad at you, just Westphalian.