BUG: f2py: Simplify creation of an exception message. Closes gh-19000.
BUG: f2py: Simplify creation of an exception message. Closes gh-19000.

seberg/numpy,jakirkham/numpy,seberg/numpy,mhvk/numpy,endolith/numpy,mhvk/numpy,mattip/numpy,charris/numpy,rgommers/numpy,charris/numpy,pdebuyl/numpy,rgommers/numpy,numpy/numpy,rgommers/numpy,pdebuyl/numpy,endolith/numpy,pdebuyl/numpy,seberg/numpy,mhvk/numpy,mhvk/numpy,mattip/numpy,numpy/numpy,charris/numpy,jakirkham/numpy,anntzer/numpy,numpy/numpy,anntzer/numpy,mattip/numpy,jakirkham/numpy,anntzer/numpy,numpy/numpy,anntzer/numpy,charris/numpy,pdebuyl/numpy,endolith/numpy,mattip/numpy,mhvk/numpy,rgommers/numpy,jakirkham/numpy,endolith/numpy,jakirkham/numpy,seberg/numpy