Backport PR #28671 on branch 0.25.x (BUG: restore limit in RangeIndex.get_indexer)
Backport PR #28671: BUG: restore limit in RangeIndex.get_indexer
Pushed a commit renaming `any_not_none` --> `_any_not_none` since it was deprivatized on master in #27741 but hasn't been deprivatized on the 0.25.x branch. The docs build failure should be fixed by #28737 Thanks for the fix @jschendel !