Revert "Fixed #23088 -- Used `six` `range` type in `Paginator.page_range`."

This reverts commit 6508db2ff9fc5be95fec903b3fa7ab8204fe316a.

Refs #23088.