MCPcopy Index your code
hub / github.com/RustPython/RustPython / I

Class I

extra_tests/snippets/builtin_int.py:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287
288
289class I(int):
290 def __int__(self):
291 return 3
292
293
294assert int(I(1)) == 3

Callers 1

builtin_int.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected