The itertools documentation page contains batched as being in python 3.11.13, where it seems to only be in 3.12