Skip to content

Commit

Permalink
doc: Remove attrs from __repr__ changes
Browse files Browse the repository at this point in the history
Address comment from @keewis:
`.attrs` is a standard python dict, so there's no custom repr.
  • Loading branch information
st-bender committed Aug 10, 2021
1 parent 888850c commit 4239b90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ New Features
Breaking changes
~~~~~~~~~~~~~~~~

- The ``__repr__`` of a :py:class:`xarray.Dataset`'s ``attrs``, ``coords``,
and ``data_vars`` ignore ``xarray.set_option(display_max_rows=...)`` and
show the full output when called directly as, e.g., ``ds.data_vars`` or
``print(ds.data_vars)`` (:issue:`5545`, :pull:`5580`).
- The ``__repr__`` of a :py:class:`xarray.Dataset`'s ``coords`` and ``data_vars``
ignore ``xarray.set_option(display_max_rows=...)`` and show the full output
when called directly as, e.g., ``ds.data_vars`` or ``print(ds.data_vars)``
(:issue:`5545`, :pull:`5580`).
By `Stefan Bender <https://github.com/st-bender>`_.

Deprecations
Expand Down

0 comments on commit 4239b90

Please sign in to comment.