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

Class MyStr

Lib/test/test_str.py:266–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 self.checkequal(0, '\u0102' * 10, 'count', '\u0102\U00100304')
265 # test subclass
266 class MyStr(str):
267 pass
268 self.checkequal(3, MyStr('aaa'), 'count', 'a')
269
270 def test_find(self):

Callers 1

test_countMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_countMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…