In python, indexing as array[-k] is the same as array[N-k]. This extends that behavior to the axes argument.
array[-k]
array[N-k]
axes