[PYTHON MATRIX-SIG] slice()

Konrad Hinsen hinsen@ibs.ibs.fr
Tue, 22 Oct 96 12:40:52 +0100


Does anyone know why the new slice() function insistis on getting at
least argument? I need the equivalent of a[::], which would most
obviously be obtained just by slice(). As it is, I have to use
slice(None), although end users are not supposed to know about the
special meaning of None in this context.

Konrad
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                          | E-Mail: hinsen@ibs.ibs.fr
Laboratoire de Dynamique Moleculaire   | Tel.: +33-76.88.99.28
Institut de Biologie Structurale       | Fax:  +33-76.88.54.94
41, av. des Martyrs                    | Deutsch/Esperanto/English/
38027 Grenoble Cedex 1, France         | Nederlands/Francais
-------------------------------------------------------------------------------

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

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