MAINT: Remove global statement
MAINT: Remove global statement

- Use of `global` variable may have unintented consequences, so it is better to refactor the code
so that we do not need to use `global`.

grlee77/numpy,Eric89GXL/numpy,pdebuyl/numpy,seberg/numpy,madphysicist/numpy,pbrod/numpy,grlee77/numpy,jakirkham/numpy,endolith/numpy,jorisvandenbossche/numpy,seberg/numpy,rgommers/numpy,MSeifert04/numpy,mattip/numpy,pdebuyl/numpy,shoyer/numpy,grlee77/numpy,pizzathief/numpy,mhvk/numpy,simongibbons/numpy,shoyer/numpy,jakirkham/numpy,ahaldane/numpy,shoyer/numpy,WarrenWeckesser/numpy,Eric89GXL/numpy,mhvk/numpy,seberg/numpy,pizzathief/numpy,madphysicist/numpy,gfyoung/numpy,mattip/numpy,mattip/numpy,jorisvandenbossche/numpy,charris/numpy,jorisvandenbossche/numpy,tynn/numpy,gfyoung/numpy,Eric89GXL/numpy,anntzer/numpy,grlee77/numpy,jorisvandenbossche/numpy,charris/numpy,pbrod/numpy,simongibbons/numpy,abalkin/numpy,numpy/numpy,tynn/numpy,pbrod/numpy,MSeifert04/numpy,simongibbons/numpy,mhvk/numpy,MSeifert04/numpy,seberg/numpy,madphysicist/numpy,shoyer/numpy,WarrenWeckesser/numpy,pizzathief/numpy,pbrod/numpy,pdebuyl/numpy,pizzathief/numpy,charris/numpy,WarrenWeckesser/numpy,WarrenWeckesser/numpy,madphysicist/numpy,ahaldane/numpy,shoyer/numpy,MSeifert04/numpy,abalkin/numpy,anntzer/numpy,ahaldane/numpy,jakirkham/numpy,ahaldane/numpy,pdebuyl/numpy,abalkin/numpy,endolith/numpy,rgommers/numpy,WarrenWeckesser/numpy,ahaldane/numpy,mhvk/numpy,mattip/numpy,numpy/numpy,MSeifert04/numpy,pbrod/numpy,mhvk/numpy,jakirkham/numpy,tynn/numpy,anntzer/numpy,jorisvandenbossche/numpy,simongibbons/numpy,jakirkham/numpy,grlee77/numpy,gfyoung/numpy,simongibbons/numpy,endolith/numpy,rgommers/numpy,numpy/numpy,anntzer/numpy,endolith/numpy,Eric89GXL/numpy,madphysicist/numpy,rgommers/numpy,charris/numpy,numpy/numpy,pizzathief/numpy