Skip to content

Commit 3fd0de4

Browse files
committed
Add PR number to whatsnew
1 parent 508ef75 commit 3fd0de4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

doc/whats-new.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Breaking changes
3131
(:issue:`10654`). Previously, :py:meth:`DataTree.to_netcdf` was hard-coded to
3232
use h5netcdf.
3333
By `Stephan Hoyer <https://github.com/shoyer>`_.
34-
- The return value of :py:meth:`Dataset.to_netcdf` without ``path`` is
35-
now a ``memoryview`` object instead of ``bytes``. This removes an unnecessary
36-
memory copy and ensures consistency when using either ``engine="scipy"`` or
37-
``engine="h5netcdf"``. If you need a bytes object, simply wrap the return
38-
value of ``to_netcdf()`` with ``bytes()``.
34+
- The return value of :py:meth:`Dataset.to_netcdf` without ``path`` is now a
35+
``memoryview`` object instead of ``bytes`` (:pull:`10656`). This removes an
36+
unnecessary memory copy and ensures consistency when using either
37+
``engine="scipy"`` or ``engine="h5netcdf"``. If you need a bytes object,
38+
simply wrap the return value of ``to_netcdf()`` with ``bytes()``.
3939
By `Stephan Hoyer <https://github.com/shoyer>`_.
4040

4141
Deprecations

0 commit comments

Comments
 (0)