This predates me even looking at this code. Has been removed by Ralf in https://github.com/scipy/scipy/pull/2612 anyway.