Fix: function comment that's no longer true

This commit is contained in:
Johan B.W. de Vries 2025-05-05 12:26:15 +02:00
parent 42cb38d67d
commit 45c38d5f88

View File

@ -39,8 +39,7 @@ def __subscript_bytes__(g: Generator, adr: i32, ofs: i32) -> i32:
Returns an index from a bytes value Returns an index from a bytes value
If ofs is more than the length of the bytes, this If ofs is more than the length of the bytes, this
function returns 0, following the 'no undefined behaviour' function stop as unreachable.
philosophy.
adr i32 The pointer for the allocated bytes adr i32 The pointer for the allocated bytes
ofs i32 The offset within the allocated bytes ofs i32 The offset within the allocated bytes