Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ subclass
Class
subclass
Lib/test/string_tests.py:120–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
118
self.assertEqual(2*s, self.fixtype(
'abab'
))
119
120
class
subclass(self.type2test):
121
pass
122
s = subclass(self.fixtype(
'ab'
))
123
r = s*1
124
self.assertEqual(r, s)
Callers
2
test_mul
Method · 0.70
test_bug1001011
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_mul
Method · 0.56
test_bug1001011
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…