[Tutor] Ellipsis syntax

Kent Johnson kent37 at tds.net
Tue Nov 22 03:46:58 CET 2005


Hugo González Monteverde wrote:
> Hi all,
> 
> I have looked for any references of ellipsis '...' syntax for Python 
> slices, but I keep finding the same BNF grammar in the 
> LanguageRreference. Is there any page with examples on how to do this, 
> or is this just very obscure?

ellipsis is used by Numeric for more flexible slicing. See the bottom of this page:
http://numeric.scipy.org/numpydoc/numpy-6.html#pgfId-37311

Kent

-- 
http://www.kentsjohnson.com



More information about the Tutor mailing list