Content deleted Content added
→Incomplete code: add anchor |
|||
Line 97:
== Multiple dimensions ==
In [[Python (programming language)|Python]], the ellipsis is a nullary expression that represents the <code>Ellipsis</code> singleton.
It's used particularly in [[NumPy]], where an ellipsis is used for slicing an arbitrary number of dimensions for a high-dimensional array:<ref>{{Cite web |url=http://docs.scipy.org/doc/numpy/reference/arrays.indexing.html |title=Indexing routines — NumPy v1.22 Manual}}</ref> <syntaxhighlight lang="pycon">
|