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

Class WithStr

Lib/test/test_str.py:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 pass
61
62class WithStr:
63 def __init__(self, value):
64 self.value = value
65 def __str__(self):
66 return self.value
67
68class WithRepr:
69 def __init__(self, value):

Callers 1

test_conversionMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_conversionMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…