Fix: function comment that's no longer true
This commit is contained in:
parent
42cb38d67d
commit
45c38d5f88
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user