News

Both ‘key’ and ‘string’ must be a bytes-like object (bytes, bytearray…). I assume that the docs decided to use 'data' to remove this ambiguity as 'data' is more common for bytes-like objects. cc ...