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

Class usub

Lib/test/test_str.py:93–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 # this doesn't happen with subclasses
92 if realresult is object:
93 class usub(str):
94 def __repr__(self):
95 return 'usub(%r)' % str.__repr__(self)
96 object = usub(object)
97 method = getattr(object, methodname)
98 realresult = method(*args)

Callers 1

checkequalnofixMethod · 0.85

Calls

no outgoing calls

Tested by 1

checkequalnofixMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…