Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Matti Picus <faf711dbf9cf26dd81c70c606be887f6131932db@gmail.com>
seberg/numpy,numpy/numpy,rgommers/numpy,rgommers/numpy,pdebuyl/numpy,mhvk/numpy,endolith/numpy,anntzer/numpy,pbrod/numpy,jakirkham/numpy,jakirkham/numpy,mhvk/numpy,mattip/numpy,anntzer/numpy,mattip/numpy,simongibbons/numpy,seberg/numpy,madphysicist/numpy,mhvk/numpy,numpy/numpy,pdebuyl/numpy,pbrod/numpy,numpy/numpy,simongibbons/numpy,seberg/numpy,charris/numpy,jakirkham/numpy,madphysicist/numpy,simongibbons/numpy,mhvk/numpy,mhvk/numpy,rgommers/numpy,madphysicist/numpy,seberg/numpy,charris/numpy,jakirkham/numpy,anntzer/numpy,endolith/numpy,anntzer/numpy,mattip/numpy,pbrod/numpy,jakirkham/numpy,endolith/numpy,charris/numpy,numpy/numpy,charris/numpy,pbrod/numpy,madphysicist/numpy,simongibbons/numpy,endolith/numpy,pdebuyl/numpy,pdebuyl/numpy,simongibbons/numpy,madphysicist/numpy,pbrod/numpy,mattip/numpy,rgommers/numpy