https://github.com/scipy/scipy/blob/master/scipy/ndimage/filters.py#L299

My bad, actually it *does*

So Virgile's suggestion would make the code more concise