Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ StrSubclass
Class
StrSubclass
Lib/test/test_str.py:56–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
54
return
text.encode().decode()
55
56
class
StrSubclass(str):
57
pass
58
59
class
OtherStrSubclass(str):
60
pass
Callers
5
test_ascii
Method · 0.70
test_repr
Method · 0.70
test_constructor
Method · 0.70
test_conversion
Method · 0.70
test_str_subclass_attr
Method · 0.70
Calls
no outgoing calls
Tested by
5
test_ascii
Method · 0.56
test_repr
Method · 0.56
test_constructor
Method · 0.56
test_conversion
Method · 0.56
test_str_subclass_attr
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…