Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Pamphile ROY <5382f7c16494af1b573fda9cacaa4290463e84b1@gmail.com>
Eric89GXL/scipy,endolith/scipy,anntzer/scipy,vigna/scipy,scipy/scipy,ilayn/scipy,endolith/scipy,mdhaber/scipy,grlee77/scipy,andyfaff/scipy,WarrenWeckesser/scipy,matthew-brett/scipy,tylerjereddy/scipy,endolith/scipy,anntzer/scipy,WarrenWeckesser/scipy,grlee77/scipy,perimosocordiae/scipy,rgommers/scipy,tylerjereddy/scipy,Eric89GXL/scipy,mdhaber/scipy,perimosocordiae/scipy,endolith/scipy,endolith/scipy,vigna/scipy,e-q/scipy,WarrenWeckesser/scipy,rgommers/scipy,matthew-brett/scipy,tylerjereddy/scipy,mdhaber/scipy,zerothi/scipy,tylerjereddy/scipy,andyfaff/scipy,tylerjereddy/scipy,mdhaber/scipy,e-q/scipy,Eric89GXL/scipy,vigna/scipy,Stefan-Endres/scipy,perimosocordiae/scipy,anntzer/scipy,perimosocordiae/scipy,anntzer/scipy,WarrenWeckesser/scipy,vigna/scipy,Eric89GXL/scipy,grlee77/scipy,vigna/scipy,andyfaff/scipy,rgommers/scipy,e-q/scipy,scipy/scipy,andyfaff/scipy,andyfaff/scipy,ilayn/scipy,Stefan-Endres/scipy,e-q/scipy,perimosocordiae/scipy,zerothi/scipy,andyfaff/scipy,scipy/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,mdhaber/scipy,grlee77/scipy,ilayn/scipy,perimosocordiae/scipy,matthew-brett/scipy,zerothi/scipy,anntzer/scipy,scipy/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,Eric89GXL/scipy,Stefan-Endres/scipy,ilayn/scipy,ilayn/scipy,mdhaber/scipy,rgommers/scipy,matthew-brett/scipy,e-q/scipy,scipy/scipy,Stefan-Endres/scipy,endolith/scipy,anntzer/scipy,Eric89GXL/scipy,zerothi/scipy,rgommers/scipy,matthew-brett/scipy,zerothi/scipy,zerothi/scipy,ilayn/scipy,scipy/scipy,grlee77/scipy