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/2002-March/021998.html below:

[Python-Dev] Odd new-style class __new__ behavior

[Python-Dev] Odd new-style class __new__ behavior [Python-Dev] Odd new-style class __new__ behaviorGuido van Rossum guido@python.org
Sat, 30 Mar 2002 13:43:46 -0500
> >>> d = {1:1}
> >>> d.__init__()
> >>> d
> {1: 1}
> >>> l = [1]
> >>> l.__init__()
> >>> l
> []
> 
> This is at least a little odd, I'd have said.  Is this just a fluke of
> implementation?

Yes.

> It's not like I really care, though.

Me neither.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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