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

Class WithRepr

Lib/test/test_str.py:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 return self.value
67
68class WithRepr:
69 def __init__(self, value):
70 self.value = value
71 def __repr__(self):
72 return self.value
73
74class StrTest(string_tests.StringLikeTest,
75 string_tests.MixinStrUnicodeTest,

Callers 3

test_asciiMethod · 0.70
test_reprMethod · 0.70
test_conversionMethod · 0.70

Calls

no outgoing calls

Tested by 3

test_asciiMethod · 0.56
test_reprMethod · 0.56
test_conversionMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…