A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/017326.html below:

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

[Python-Dev] copy, len and the like as 'object' methods? [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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4