DOC: fix bug for stats doc generation by more complete string substitution.
DOC: fix bug for stats doc generation by more complete string substitution.

If the shapes keyword is None, the Parameters section should not display
the two lines for shapes.

jamestwebber/scipy,ales-erjavec/scipy,sonnyhu/scipy,trankmichael/scipy,lukauskas/scipy,giorgiop/scipy,matthewalbani/scipy,grlee77/scipy,jseabold/scipy,anielsen001/scipy,e-q/scipy,kalvdans/scipy,dch312/scipy,vberaudi/scipy,apbard/scipy,scipy/scipy,Kamp9/scipy,vanpact/scipy,mortada/scipy,pizzathief/scipy,pyramania/scipy,andyfaff/scipy,ortylp/scipy,Newman101/scipy,pyramania/scipy,cpaulik/scipy,aarchiba/scipy,zaxliu/scipy,minhlongdo/scipy,surhudm/scipy,gdooper/scipy,sargas/scipy,scipy/scipy,nmayorov/scipy,kleskjr/scipy,sauliusl/scipy,anntzer/scipy,fernand/scipy,hainm/scipy,jonycgn/scipy,pnedunuri/scipy,pschella/scipy,pbrod/scipy,aman-iitj/scipy,felipebetancur/scipy,ChanderG/scipy,mhogg/scipy,minhlongdo/scipy,jonycgn/scipy,mtrbean/scipy,perimosocordiae/scipy,bkendzior/scipy,rmcgibbo/scipy,Gillu13/scipy,WarrenWeckesser/scipy,maniteja123/scipy,woodscn/scipy,zxsted/scipy,niknow/scipy,chatcannon/scipy,njwilson23/scipy,gef756/scipy,lhilt/scipy,dch312/scipy,mortonjt/scipy,gdooper/scipy,nvoron23/scipy,lhilt/scipy,fernand/scipy,dominicelse/scipy,gef756/scipy,apbard/scipy,behzadnouri/scipy,Gillu13/scipy,ChanderG/scipy,tylerjereddy/scipy,WarrenWeckesser/scipy,mingwpy/scipy,pnedunuri/scipy,zerothi/scipy,nonhermitian/scipy,ogrisel/scipy,zaxliu/scipy,minhlongdo/scipy,jakevdp/scipy,ilayn/scipy,ndchorley/scipy,jor-/scipy,niknow/scipy,giorgiop/scipy,zxsted/scipy,e-q/scipy,cpaulik/scipy,matthewalbani/scipy,sauliusl/scipy,endolith/scipy,person142/scipy,zerothi/scipy,sargas/scipy,gfyoung/scipy,hainm/scipy,perimosocordiae/scipy,ales-erjavec/scipy,mortonjt/scipy,pschella/scipy,haudren/scipy,tylerjereddy/scipy,vberaudi/scipy,dch312/scipy,nonhermitian/scipy,felipebetancur/scipy,rgommers/scipy,niknow/scipy,gdooper/scipy,aman-iitj/scipy,lhilt/scipy,trankmichael/scipy,hainm/scipy,bkendzior/scipy,kleskjr/scipy,giorgiop/scipy,matthewalbani/scipy,mtrbean/scipy,gef756/scipy,mtrbean/scipy,WarrenWeckesser/scipy,cpaulik/scipy,haudren/scipy,gertingold/scipy,aarchiba/scipy,josephcslater/scipy,anielsen001/scipy,nvoron23/scipy,endolith/scipy,Stefan-Endres/scipy,richardotis/scipy,niknow/scipy,nvoron23/scipy,josephcslater/scipy,fredrikw/scipy,Gillu13/scipy,larsmans/scipy,kleskjr/scipy,andim/scipy,njwilson23/scipy,zaxliu/scipy,ogrisel/scipy,zerothi/scipy,andim/scipy,haudren/scipy,vanpact/scipy,anielsen001/scipy,trankmichael/scipy,nvoron23/scipy,josephcslater/scipy,gertingold/scipy,kalvdans/scipy,pyramania/scipy,richardotis/scipy,fredrikw/scipy,Eric89GXL/scipy,ortylp/scipy,argriffing/scipy,jseabold/scipy,FRidh/scipy,Kamp9/scipy,Dapid/scipy,piyush0609/scipy,Srisai85/scipy,aman-iitj/scipy,arokem/scipy,richardotis/scipy,jsilter/scipy,chatcannon/scipy,FRidh/scipy,mgaitan/scipy,aman-iitj/scipy,Gillu13/scipy,Shaswat27/scipy,mhogg/scipy,mortonjt/scipy,Stefan-Endres/scipy,vigna/scipy,aeklant/scipy,Srisai85/scipy,niknow/scipy,sargas/scipy,Newman101/scipy,raoulbq/scipy,anielsen001/scipy,grlee77/scipy,grlee77/scipy,tylerjereddy/scipy,Shaswat27/scipy,raoulbq/scipy,jjhelmus/scipy,zerothi/scipy,fredrikw/scipy,futurulus/scipy,raoulbq/scipy,ndchorley/scipy,mgaitan/scipy,behzadnouri/scipy,vberaudi/scipy,mingwpy/scipy,lukauskas/scipy,nmayorov/scipy,larsmans/scipy,mdhaber/scipy,dch312/scipy,andim/scipy,WillieMaddox/scipy,matthew-brett/scipy,matthew-brett/scipy,Dapid/scipy,ales-erjavec/scipy,Dapid/scipy,Stefan-Endres/scipy,woodscn/scipy,sriki18/scipy,efiring/scipy,vanpact/scipy,Kamp9/scipy,jseabold/scipy,woodscn/scipy,maniteja123/scipy,matthew-brett/scipy,pnedunuri/scipy,matthew-brett/scipy,ogrisel/scipy,efiring/scipy,aarchiba/scipy,endolith/scipy,ndchorley/scipy,argriffing/scipy,petebachant/scipy,efiring/scipy,person142/scipy,kalvdans/scipy,jakevdp/scipy,kalvdans/scipy,larsmans/scipy,sriki18/scipy,witcxc/scipy,lhilt/scipy,ogrisel/scipy,bkendzior/scipy,scipy/scipy,zxsted/scipy,nmayorov/scipy,vigna/scipy,befelix/scipy,mhogg/scipy,mgaitan/scipy,jsilter/scipy,zaxliu/scipy,Kamp9/scipy,Kamp9/scipy,mingwpy/scipy,argriffing/scipy,mikebenfield/scipy,aeklant/scipy,richardotis/scipy,FRidh/scipy,gdooper/scipy,jjhelmus/scipy,maniteja123/scipy,pyramania/scipy,ChanderG/scipy,mortonjt/scipy,mtrbean/scipy,matthewalbani/scipy,scipy/scipy,piyush0609/scipy,person142/scipy,maciejkula/scipy,zaxliu/scipy,ortylp/scipy,witcxc/scipy,felipebetancur/scipy,sargas/scipy,tylerjereddy/scipy,lukauskas/scipy,pbrod/scipy,rmcgibbo/scipy,fernand/scipy,jamestwebber/scipy,mtrbean/scipy,newemailjdm/scipy,fernand/scipy,sauliusl/scipy,ChanderG/scipy,woodscn/scipy,haudren/scipy,trankmichael/scipy,zxsted/scipy,aarchiba/scipy,aman-iitj/scipy,ilayn/scipy,arokem/scipy,niknow/scipy,pbrod/scipy,teoliphant/scipy,sargas/scipy,mdhaber/scipy,rgommers/scipy,aeklant/scipy,FRidh/scipy,grlee77/scipy,jsilter/scipy,mingwpy/scipy,haudren/scipy,vhaasteren/scipy,Dapid/scipy,Newman101/scipy,cpaulik/scipy,argriffing/scipy,vhaasteren/scipy,Srisai85/scipy,Eric89GXL/scipy,raoulbq/scipy,maciejkula/scipy,njwilson23/scipy,jonycgn/scipy,behzadnouri/scipy,mdhaber/scipy,witcxc/scipy,sonnyhu/scipy,behzadnouri/scipy,pbrod/scipy,andim/scipy,pschella/scipy,mortonjt/scipy,apbard/scipy,fredrikw/scipy,ales-erjavec/scipy,Eric89GXL/scipy,e-q/scipy,andim/scipy,gertingold/scipy,jor-/scipy,apbard/scipy,mgaitan/scipy,ortylp/scipy,petebachant/scipy,giorgiop/scipy,cpaulik/scipy,teoliphant/scipy,befelix/scipy,vanpact/scipy,sauliusl/scipy,hainm/scipy,Gillu13/scipy,pbrod/scipy,teoliphant/scipy,newemailjdm/scipy,jor-/scipy,lukauskas/scipy,WillieMaddox/scipy,teoliphant/scipy,befelix/scipy,larsmans/scipy,hainm/scipy,surhudm/scipy,aarchiba/scipy,jakevdp/scipy,perimosocordiae/scipy,sriki18/scipy,cpaulik/scipy,zerothi/scipy,njwilson23/scipy,Gillu13/scipy,andyfaff/scipy,surhudm/scipy,gfyoung/scipy,sonnyhu/scipy,jsilter/scipy,pnedunuri/scipy,argriffing/scipy,Eric89GXL/scipy,ndchorley/scipy,newemailjdm/scipy,jjhelmus/scipy,rgommers/scipy,juliantaylor/scipy,jonycgn/scipy,surhudm/scipy,mortonjt/scipy,andyfaff/scipy,matthew-brett/scipy,surhudm/scipy,felipebetancur/scipy,dominicelse/scipy,futurulus/scipy,pizzathief/scipy,ogrisel/scipy,anielsen001/scipy,futurulus/scipy,ilayn/scipy,gef756/scipy,chatcannon/scipy,mingwpy/scipy,gfyoung/scipy,minhlongdo/scipy,sriki18/scipy,tylerjereddy/scipy,WillieMaddox/scipy,rmcgibbo/scipy,maniteja123/scipy,WarrenWeckesser/scipy,chatcannon/scipy,ndchorley/scipy,jor-/scipy,apbard/scipy,felipebetancur/scipy,ortylp/scipy,pizzathief/scipy,newemailjdm/scipy,efiring/scipy,petebachant/scipy,rgommers/scipy,dch312/scipy,mgaitan/scipy,juliantaylor/scipy,rgommers/scipy,piyush0609/scipy,vigna/scipy,Stefan-Endres/scipy,juliantaylor/scipy,minhlongdo/scipy,WillieMaddox/scipy,aman-iitj/scipy,chatcannon/scipy,pyramania/scipy,newemailjdm/scipy,Srisai85/scipy,surhudm/scipy,jjhelmus/scipy,lhilt/scipy,newemailjdm/scipy,petebachant/scipy,dominicelse/scipy,rmcgibbo/scipy,zerothi/scipy,Eric89GXL/scipy,mortada/scipy,gertingold/scipy,nvoron23/scipy,raoulbq/scipy,petebachant/scipy,sonnyhu/scipy,arokem/scipy,mikebenfield/scipy,endolith/scipy,sriki18/scipy,endolith/scipy,mdhaber/scipy,pnedunuri/scipy,Kamp9/scipy,maciejkula/scipy,pizzathief/scipy,jseabold/scipy,vberaudi/scipy,kleskjr/scipy,sonnyhu/scipy,jakevdp/scipy,andim/scipy,mikebenfield/scipy,piyush0609/scipy,trankmichael/scipy,gef756/scipy,fredrikw/scipy,Shaswat27/scipy,gfyoung/scipy,ilayn/scipy,futurulus/scipy,rmcgibbo/scipy,befelix/scipy,bkendzior/scipy,perimosocordiae/scipy,juliantaylor/scipy,perimosocordiae/scipy,nonhermitian/scipy,andyfaff/scipy,jamestwebber/scipy,jamestwebber/scipy,Newman101/scipy,ndchorley/scipy,maniteja123/scipy,njwilson23/scipy,sauliusl/scipy,mortada/scipy,teoliphant/scipy,witcxc/scipy,WillieMaddox/scipy,Dapid/scipy,argriffing/scipy,efiring/scipy,minhlongdo/scipy,Shaswat27/scipy,futurulus/scipy,pnedunuri/scipy,mortada/scipy,mhogg/scipy,jsilter/scipy,jjhelmus/scipy,richardotis/scipy,andyfaff/scipy,giorgiop/scipy,endolith/scipy,mikebenfield/scipy,jseabold/scipy,vhaasteren/scipy,gef756/scipy,matthewalbani/scipy,witcxc/scipy,giorgiop/scipy,ales-erjavec/scipy,mingwpy/scipy,perimosocordiae/scipy,jakevdp/scipy,piyush0609/scipy,juliantaylor/scipy,scipy/scipy,nmayorov/scipy,larsmans/scipy,vberaudi/scipy,person142/scipy,lukauskas/scipy,maniteja123/scipy,jonycgn/scipy,lukauskas/scipy,dominicelse/scipy,behzadnouri/scipy,sonnyhu/scipy,ortylp/scipy,mortada/scipy,jor-/scipy,larsmans/scipy,mdhaber/scipy,maciejkula/scipy,aeklant/scipy,mgaitan/scipy,pschella/scipy,WarrenWeckesser/scipy,josephcslater/scipy,andyfaff/scipy,felipebetancur/scipy,vigna/scipy,jseabold/scipy,petebachant/scipy,Newman101/scipy,piyush0609/scipy,zaxliu/scipy,pbrod/scipy,raoulbq/scipy,zxsted/scipy,kalvdans/scipy,fernand/scipy,nmayorov/scipy,person142/scipy,nonhermitian/scipy,anntzer/scipy,haudren/scipy,chatcannon/scipy,FRidh/scipy,vberaudi/scipy,Eric89GXL/scipy,grlee77/scipy,e-q/scipy,arokem/scipy,rmcgibbo/scipy,jamestwebber/scipy,anntzer/scipy,hainm/scipy,anntzer/scipy,vhaasteren/scipy,anielsen001/scipy,Stefan-Endres/scipy,jonycgn/scipy,ales-erjavec/scipy,befelix/scipy,futurulus/scipy,maciejkula/scipy,Shaswat27/scipy,nvoron23/scipy,pizzathief/scipy,woodscn/scipy,vhaasteren/scipy,njwilson23/scipy,mortada/scipy,vhaasteren/scipy,mhogg/scipy,aeklant/scipy,dominicelse/scipy,mtrbean/scipy,mdhaber/scipy,e-q/scipy,ilayn/scipy,mikebenfield/scipy,woodscn/scipy,arokem/scipy,ilayn/scipy,bkendzior/scipy,Dapid/scipy,efiring/scipy,vigna/scipy,Stefan-Endres/scipy,Srisai85/scipy,vanpact/scipy,Newman101/scipy,WarrenWeckesser/scipy,pschella/scipy,WillieMaddox/scipy,FRidh/scipy,kleskjr/scipy,gfyoung/scipy,scipy/scipy,kleskjr/scipy,trankmichael/scipy,ChanderG/scipy,josephcslater/scipy,anntzer/scipy,vanpact/scipy,Srisai85/scipy,ChanderG/scipy,zxsted/scipy,fredrikw/scipy,anntzer/scipy,richardotis/scipy,behzadnouri/scipy,gdooper/scipy,gertingold/scipy,Shaswat27/scipy,fernand/scipy,mhogg/scipy,nonhermitian/scipy,sriki18/scipy,sauliusl/scipy