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

Class E

Lib/test/test_str.py:1114–1118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112
1113 # class with __str__, but no __format__
1114 class E:
1115 def __init__(self, x):
1116 self.x = x
1117 def __str__(self):
1118 return 'E(' + self.x + ')'
1119
1120 # class with __repr__, but no __format__ or __str__
1121 class F:

Callers 1

test_formatMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_formatMethod · 0.56