slice object, ellipsis usage? list[2:4:2, ...] what good are they?

Janko Hauser jhauser at ifm.uni-kiel.de
Wed May 31 20:41:21 EDT 2000


The ellipsis is to my knowledge only used in Numpy, which has
multidimensional data structures. So in a function which does not need
to know how many dimensions array arguments can have a ellipsis
construct can be used.

HTH, Janko


-- 
  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
  24105 Kiel, Germany



More information about the Python-list mailing list