@@ -1588,7 +1588,6 @@ def from_store(
15881588        Raises 
15891589        ------ 
15901590        ContainsArrayError, ContainsGroupError, ContainsArrayAndGroupError 
1591- 
15921591        """ 
15931592        attributes  =  attributes  or  {}
15941593        obj  =  sync (
@@ -1641,7 +1640,7 @@ def __getitem__(self, path: str) -> Array | Group:
16411640        Examples 
16421641        -------- 
16431642        >>> import zarr 
1644-         >>> group = Group.from_store(zarr.storage.MemoryStore(mode="w") ) 
1643+         >>> group = Group.from_store(zarr.storage.MemoryStore() 
16451644        >>> group.create_array(name="subarray", shape=(10,), chunk_shape=(10,)) 
16461645        >>> group.create_group(name="subgroup").create_array(name="subarray", shape=(10,), chunk_shape=(10,)) 
16471646        >>> group["subarray"] 
@@ -1676,7 +1675,7 @@ def get(self, path: str, default: DefaultT | None = None) -> Array | Group | Def
16761675        Examples 
16771676        -------- 
16781677        >>> import zarr 
1679-         >>> group = Group.from_store(zarr.storage.MemoryStore(mode="w") ) 
1678+         >>> group = Group.from_store(zarr.storage.MemoryStore() 
16801679        >>> group.create_array(name="subarray", shape=(10,), chunk_shape=(10,)) 
16811680        >>> group.create_group(name="subgroup") 
16821681        >>> group.get("subarray") 
@@ -1702,7 +1701,7 @@ def __delitem__(self, key: str) -> None:
17021701        Examples 
17031702        -------- 
17041703        >>> import zarr 
1705-         >>> group = Group.from_store(zarr.storage.MemoryStore(mode="w") ) 
1704+         >>> group = Group.from_store(zarr.storage.MemoryStore() 
17061705        >>> group.create_array(name="subarray", shape=(10,), chunk_shape=(10,)) 
17071706        >>> del group["subarray"] 
17081707        >>> "subarray" in group 
0 commit comments