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

Barry Scott barry@scottb.demon.co.uk
Tue, 28 Aug 2001 19:41:53 +0100


> Tim said:
>                                                       I *think* "get the
> length of some list", not "list, of all the things I may ask you for, in
> this case I want your length".  It simply reads better to me as a function.

	length of list and type       len(list)
	read the file and type        file.read()

		maybe thinking...

	list how long are you         list.length()
	file I want to read you       file.read()

		BArry