Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ C1
Class
C1
Lib/test/test_builtin.py:345–346 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
343
self.assertTrue(callable(f))
344
345
class
C1:
346
def
meth(self):
pass
347
self.assertTrue(callable(C1))
348
c = C1()
349
self.assertTrue(callable(c.meth))
Callers
1
test_callable
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_callable
Method · 0.56