# Omitting singularities from plot by specifying them in range

See the Mathematica 'basic plotting' documentation:

http://reference.wolfram.com/mathematica/tutorial/BasicPlotting.html

Scroll down to the third plot on that page, which says the following: "The singularities can be omitted from the plot by specifying them in the plot's range."

According to this doc, if you enter this in Mathematica 9, you will get the result shown in that doc page:

Plot[Tan[x], {x, -3, -Pi/2, Pi/2, 3}]


But when I try it I get this pllim error:

claiming too many things appearing after x, but that's what the doc says to do. I have searched here for anything relevant to no avail. What's going on with this?

-
confirmed on 9.01 on Windows... and even the documentation marks the additional arguments in red. –  Yves Klett Oct 29 '13 at 11:51
Works in v7. Fails in in 8.0.4. –  Michael E2 Oct 29 '13 at 11:55
You could also (cross-)post this on community.wolfram.com, which may help to get WRI attention more quickly. Using the Exclusions option works, but I guess that is not your point. –  Yves Klett Oct 29 '13 at 11:57

Plot[Tan[x], {x, -3, 3}, Exclusions -> {-Pi/2, Pi/2}]