MCPcopy Create free account
hub / github.com/chaimleib/intervaltree / format

Method format

test/pprint.py:312–319  ·  view source on GitHub ↗
(self, object, context, maxlevels, level, enable_pickle=None)

Source from the content-addressed store, hash-verified

310 return repr
311
312 def format(self, object, context, maxlevels, level, enable_pickle=None):
313 if enable_pickle is None:
314 enable_pickle = self.enable_pickle
315 """Format object for a specific context, returning a string
316 and flags indicating whether the representation is 'readable'
317 and whether the object represents a recursive construct.
318 """
319 return _safe_repr(object, context, maxlevels, level, enable_pickle=enable_pickle)
320
321
322# Return triple (repr_string, isreadable, isrecursive).

Callers 15

isrecursiveMethod · 0.95
isreadableMethod · 0.95
_reprMethod · 0.95
make_ivFunction · 0.80
write_ivs_dataFunction · 0.80
datafuncFunction · 0.80
tabulateMethod · 0.80
test_ivs1Function · 0.80
__init__Method · 0.80
addMethod · 0.80
verifyMethod · 0.80
__repr__Method · 0.80

Calls 1

_safe_reprFunction · 0.85

Tested by 3

datafuncFunction · 0.64
tabulateMethod · 0.64
test_ivs1Function · 0.64