From 4239b90aadac248b2fefddc5b936a4fb06ad8469 Mon Sep 17 00:00:00 2001 From: Stefan Bender Date: Tue, 10 Aug 2021 21:15:18 +0200 Subject: [PATCH] doc: Remove `attrs` from `__repr__` changes Address comment from @keewis: `.attrs` is a standard python dict, so there's no custom repr. --- doc/whats-new.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index c7656dc2200..3845999f513 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -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 `_. Deprecations