MAINT: Fixed an issue with the return-dtype of `ndarray.real` and `imag
MAINT: Fixed an issue with the return-dtype of `ndarray.real` and `imag

The latter two would previously return complex arrays if the initial array was also complex

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