Bjoern Schliessmann a écrit :
> Hendrik van Rooyen wrote:
> 
> 
>>So what's the difference ?  Why can't bar be called a method
>>of foo, or is it merely a convention that classes have
>>methods and modules have functions?
> 
> 
> In depends on which terminology you use. As Steven told, Python
> methods are special functions.

Nope. They are callable objects wrapping a function, a class and 
(usually) an instance of the class.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to