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

Method isreadable

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

Source from the content-addressed store, hash-verified

183 return self.format(object, {}, 0, 0)[2]
184
185 def isreadable(self, object):
186 s, readable, recursive = self.format(object, {}, 0, 0)
187 return readable and not recursive
188
189 def _format(self, object, stream, indent, allowance, context, level):
190 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