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/2006-March/062079.html below:

[Python-Dev] x.len() instead of len(x) in Py3.0

[Python-Dev] x.len() instead of len(x) in Py3.0 [Python-Dev] x.len() instead of len(x) in Py3.0Oleg Broytmann phd at mail2.phd.pp.ru
Sun Mar 5 20:17:34 CET 2006
On Sun, Mar 05, 2006 at 06:48:22PM +0000, Neil Schemenauer wrote:
> Oleg Broytmann <phd at oper.phd.pp.ru> wrote:
> > What are disadvantages of a direct .len() instead of .__len__()?
> 
> I can think of a few arguments against getting rid of double
> underscores in general.

   The discussion is about moving from len(sequence) to sequence.len(), not
from __len__() to .len().

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev mailing list

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