DOC removed unnecessary use of parameter in example rename function call
removed unnecessary (and misleading) use of index parameter in docstring example function call of rename function

xref #26248 
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
