MCPcopy Index your code
hub / github.com/ipython/ipython / X

Class X

tests/test_guarded_eval.py:949–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947
948def test_unbind_method():
949 class X(list):
950 def index(self, k):
951 return "CUSTOM"
952
953 x = X()
954 assert _unbind_method(x.index) is X.index

Callers 1

test_unbind_methodFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_unbind_methodFunction · 0.56