Skip to content

Commit f9b5a3b

Browse files
updated migration documention to say that '.' syntax is no longer all… (#2997)
* updated migration documention to say that '.' syntax is no longer allowed for variables in groups * fixed spelling error
1 parent 5f49d24 commit f9b5a3b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changes/2991.doc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated the 3.0 migration guide to include the removal of "." syntax for getting group members.

docs/user-guide/v3_migration.rst

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ The Group class
117117

118118
- Use :func:`zarr.Group.create_array` in place of :func:`zarr.Group.create_dataset`
119119
- Use :func:`zarr.Group.require_array` in place of :func:`zarr.Group.require_dataset`
120+
3. Disallow "." syntax for getting group members. To get a member of a group named ``foo``,
121+
use ``group["foo"]`` in place of ``group.foo``.
120122

121123
The Store class
122124
~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)