[PYTHON MATRIX-SIG] lists vs. tuples

Hinsen Konrad hinsenk@ere.umontreal.ca
Thu, 1 Feb 1996 20:00:29 -0500


   I believe that most existing python code, when returning collections,
   return tuples.

I'd say it's mostly lists, but that's just my personal experience.

   The matrix code as implemented returns lists (e.g. shape).  Shape

Well, my installation returns tuples for shapes! Are we talking about
the same thing?

-------------------------------------------------------------------------------
Konrad Hinsen                     | E-Mail: hinsenk@ere.umontreal.ca
Departement de chimie             | Tel.: +1-514-343-6111 ext. 3953
Universite de Montreal            | Fax:  +1-514-343-7586
C.P. 6128, succ. Centre-Ville     | Deutsch/Esperanto/English/Nederlands/
Montreal (QC) H3C 3J7             | Francais (phase experimentale)
-------------------------------------------------------------------------------

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================