MCPcopy Index your code
hub / github.com/RustPython/RustPython / isreadable

Method isreadable

Lib/pprint.py:173–175  ·  view source on GitHub ↗
(self, object)

Source from the content-addressed store, hash-verified

171 return self.format(object, {}, 0, 0)[2]
172
173 def isreadable(self, object):
174 s, readable, recursive = self.format(object, {}, 0, 0)
175 return readable and not recursive
176
177 def _format(self, object, stream, indent, allowance, context, level):
178 objid = id(object)

Callers 3

test_basicMethod · 0.95
test_knottedMethod · 0.95
test_unreadableMethod · 0.95

Calls 1

formatMethod · 0.95

Tested by 3

test_basicMethod · 0.76
test_knottedMethod · 0.76
test_unreadableMethod · 0.76