If this is important to know when reading the code then it should be in a
comment in the code :-)
On 28 Oct 2013 02:02, "Neil" <notifications@github.com> wrote:

> In numpy/core/arrayprint.py:
>
> > -_summaryThreshold = 1000 # total items > triggers array summarization
> > +# TODO: A ChainMap (Python 3.3+) would be more elegant than a dict for
> > +# implementing PrintOptions.
> > +_printoptions = dict(
> > +    edgeitems=3,  # repr N leading and trailing items of each dimension
> > +    threshold=1000,  # total items > triggers array summarization
> > +    precision=8,
> > +    suppress=False,
> > +    linewidth=75,
> > +    nanstr='nan',
> > +    infstr='inf',
> > +    formatter=None,  # formatting function for array elements
> > +    )
> > +
> > +
> > +class PrintOptions(Mapping):
>
> Deriving from Mapping instead of dict so that the returned dictionary is
> read-only.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/numpy/numpy/pull/3987/files#r7239070>
> .
>