DOC: remove empty attribute/method lists from class docstrings html page
Follow-up on https://github.com/pandas-dev/pandas/pull/18202 (RangeIndex was forgotten)

This is not really ideal, as we then get warnings about None not being a method. Maybe we could somehow connect with the numpydoc process and after its processing remove it ..