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

Method repr

Lib/reprlib.py:70–71  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

68 self.indent = indent
69
70 def repr(self, x):
71 return self.repr1(x, self.maxlevel)
72
73 def repr1(self, x, level):
74 cls = type(x)

Callers 7

test_tupleMethod · 0.95
test_valid_indentMethod · 0.95
test_invalid_indentMethod · 0.95
repr_strMethod · 0.45
repr_intMethod · 0.45
repr_instanceMethod · 0.45
format_stack_entryMethod · 0.45

Calls 1

repr1Method · 0.95

Tested by 3

test_tupleMethod · 0.76
test_valid_indentMethod · 0.76
test_invalid_indentMethod · 0.76