MCPcopy Index your code
hub / github.com/RustPython/RustPython / builtin_bin.py

File builtin_bin.py

extra_tests/snippets/builtin_bin.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1assert bin(0) == "0b0"
2assert bin(1) == "0b1"
3assert bin(-1) == "-0b1"
4assert bin(2**24) == "0b1" + "0" * 24

Callers

nothing calls this directly

Calls 1

binFunction · 0.50

Tested by

no test coverage detected