[Python-Dev] Re: copy, len and the like as 'object' methods?

Fredrik Lundh fredrik@pythonware.com
Thu, 23 Aug 2001 10:17:51 +0200


greg wilson wrote:


> FWIW, David's 'len()' methods would definitely make Python easier
> to teach --- just about every beginner types 'x.len()' instead of
> 'len(x)' over and over during their first two or three exercises.

my students don't -- so it's probably a bug in your training
material, not in Python ;-)

cheers /F