File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5869,13 +5869,20 @@ It is written as ``None``.
58695869The Ellipsis Object
58705870-------------------
58715871
5872- This object is commonly used by slicing (see :ref: `slicings `). It supports no
5872+ This object is commonly used as a placeholder of another objects, values or even
5873+ instructions. It supports no
58735874special operations. There is exactly one ellipsis object, named
58745875:const: `Ellipsis ` (a built-in name). ``type(Ellipsis)() `` produces the
58755876:const: `Ellipsis ` singleton.
58765877
58775878It is written as ``Ellipsis `` or ``... ``.
58785879
5880+ For instance, at the standard library and its documentation, ``Ellipsis `` can
5881+ appears in :ref: `pretty printers <prettyprinter-objects >`,
5882+ :const: `documentation tests <doctest.ELLIPSIS> `,
5883+ :ref: `type annotations <annotating-callables >`,
5884+ or instead of :ref: `pass statement <tut-pass >`.
5885+
58795886
58805887.. _bltin-notimplemented-object :
58815888
You can’t perform that action at this time.
0 commit comments