A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-August/017167.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?James_Althoff@i2.com James_Althoff@i2.com
Wed, 22 Aug 2001 11:11:51 -0700
David Ascher wrote:
>Again, I wasn't considering getting rid of old builtins.  We're going to
>be adding new methods to all of the types anyway (since they'll derive
>from object), so I was just suggesting that len or length be an alias
>for __len__.

(While admittedly being an OO zealot ;-) I too would be pleased to see a
len/length method.  And I really enjoy using the new string methods.
Thanks for adding them!  :-)

Jim




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