```
In [14]: singularities(tan(x), x)
Out[14]: ()
```

> Other than what you pointed out above, I am unaware of errors in the docstring.

It's not actually an error in the docstring.  You just introduce a new function, which is supposed to do very different things then original `singularities()` was designed for.