Skip to content

Commit db9a02e

Browse files
committed
Fix doc
1 parent 6cad300 commit db9a02e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

blosc2/utils.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def compress(src, typesize=8, clevel=9, shuffle=blosc2_ext.SHUFFLE, cname='blosc
6262
default is blosc2.SHUFFLE.
6363
cname : string (optional)
6464
The name of the compressor used internally in Blosc. It can be
65-
any of the supported by Blosc (`blosclz`, `lz4`, `lz4hc`,
66-
`zlib`, `zstd` and maybe others too). The default is
67-
`blosclz`.
65+
any of the supported by Blosc ( `blosclz` , `lz4` , `lz4hc` ,
66+
`zlib` , `zstd` and maybe others too). The default is
67+
`blosclz` .
6868
6969
Returns
7070
-------
@@ -156,7 +156,7 @@ def pack(obj, clevel=9, shuffle=blosc2_ext.SHUFFLE, cname='blosclz'):
156156
157157
Parameters
158158
----------
159-
obj : Python object with 'itemsize' attribute
159+
obj : Python object with `itemsize` attribute
160160
The Python object to be packed.
161161
clevel : int (optional)
162162
The compression level from 0 (no compression) to 9
@@ -167,9 +167,9 @@ def pack(obj, clevel=9, shuffle=blosc2_ext.SHUFFLE, cname='blosclz'):
167167
default is blosc2.SHUFFLE.
168168
cname : string (optional)
169169
The name of the compressor used internally in Blosc. It can be
170-
any of the supported by Blosc (`blosclz`, `lz4`, `lz4hc`,
171-
`zlib`, `zstd` and maybe others too). The default is
172-
`blosclz`.
170+
any of the supported by Blosc ( `blosclz` , `lz4` , `lz4hc` ,
171+
`zlib` , `zstd` and maybe others too). The default is
172+
`blosclz` .
173173
174174
Returns
175175
-------
@@ -273,9 +273,9 @@ def pack_array(arr, clevel=9, shuffle=blosc2_ext.SHUFFLE, cname='blosclz'):
273273
default is blosc.SHUFFLE.
274274
cname : string (optional)
275275
The name of the compressor used internally in Blosc. It can be
276-
any of the supported by Blosc (`blosclz`, `lz4`, `lz4hc`,
277-
`zlib`, `zstd` and maybe others too). The default is
278-
`blosclz`.
276+
any of the supported by Blosc ( `blosclz` , `lz4` , `lz4hc` ,
277+
`zlib` , `zstd` and maybe others too). The default is
278+
`blosclz` .
279279
280280
Returns
281281
-------
@@ -357,8 +357,8 @@ def unpack_array(packed_array, **kwargs):
357357

358358

359359
def set_compressor(compname):
360-
"""Set the compressor to be used. The supported ones are `blosclz`,
361-
`lz4`, `lz4hc`, `zlib` and `ztsd`. If this function is not
360+
"""Set the compressor to be used. The supported ones are `blosclz` ,
361+
`lz4` , `lz4hc` , `zlib` and `ztsd`. If this function is not
362362
called, then `blosclz` will be used.
363363
364364
Parameters

0 commit comments

Comments
 (0)