Kent Johnson wrote:
> So...
> s.strip() gets a bound method object from the class and calls it with no 
> additional argument.
> str.strip(s) gets an unbound method object from the class and calls it, 
> passing a class instance as the first argument.
> 
> Kent

Thank you Kent. That's a very informative explanation. It makes sense too :)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to