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

Class Frag

Lib/test/test_descr.py:893–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891 def foo(self):
892 return "23"
893 class Frag(Node, list):
894 def foo(self):
895 return "42"
896 self.assertEqual(Node().__int__(), 23)
897 self.assertEqual(int(Node()), 23)
898 self.assertEqual(Frag().__int__(), 42)

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…