DOC: (de)type the return value of concat (#17079)
Was being parsed by Pycharm as being type "type".

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