Fix PR10 error and Clean up docstrings from functions related to RT05 errors
- [ ] ~closes #25108~ Related to #25108 ,#25109
- [ ] tests added / passed (`./scripts/validate_docstrings.py --errors=RT05`)
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

