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-June/025455.html below:

[Python-Dev] PEP 8: Lists/tuples

[Python-Dev] PEP 8: Lists/tuples [Python-Dev] PEP 8: Lists/tuplesGuido van Rossum guido@python.org
Sun, 16 Jun 2002 20:23:58 -0400
> I don't really want to open a can of worms here, but as I'm finishing up
> my OSCON slides, I remembered a conversation earlier where Guido said
> that tuples should be used for heterogeneous items (i.e. lightweight
> structs) while lists should be used for homogeneous items.
> 
> Should this preference be enshrined in PEP 8?

Yes.

> (I'm -1 myself, but I'd like to know what to tell my class.)

Like it or not, that's what tuples are for. :-)

--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