MCPcopy Index your code
hub / github.com/python/cpython / bounds

Method bounds

Lib/compression/zstd/__init__.py:201–206  ·  view source on GitHub ↗

Return the (lower, upper) int bounds of a compression parameter. Both the lower and upper bounds are inclusive.

(self)

Source from the content-addressed store, hash-verified

199 overlap_log = _zstd.ZSTD_c_overlapLog
200
201 def bounds(self):
202 """Return the (lower, upper) int bounds of a compression parameter.
203
204 Both the lower and upper bounds are inclusive.
205 """
206 return _zstd.get_param_bounds(self.value, is_compress=True)
207
208
209class DecompressionParameter(enum.IntEnum):

Calls

no outgoing calls