Skip to content

Commit 82faaf2

Browse files
committed
Fix render of docstring
1 parent 69b0f52 commit 82faaf2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/blosc2/dict_store.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class DictStore:
2525
Directory-based storage for compressed data using Blosc2.
2626
Manages arrays in a directory (.b2d) or zip (.b2z) format.
2727
28-
Supported value types
29-
---------------------
28+
Supports the following types:
29+
3030
- blosc2.NDArray: n-dimensional arrays. When persisted externally they
3131
are stored as .b2nd files.
3232
- blosc2.SChunk: super-chunks. When persisted externally they are stored
@@ -82,6 +82,8 @@ class DictStore:
8282
>>> dstore.to_b2z() # persist to the zip file; external files are copied in
8383
>>> print(sorted(dstore.keys()))
8484
['/dir1/node3', '/dir1/schunk1', '/node1', '/node2']
85+
>>> print(dstore["/node1"][:]))
86+
array([1, 2, 3])
8587
"""
8688

8789
def __init__(

0 commit comments

Comments
 (0)