remove no-longer-true pdoc comment

pdoc doesn't eval expressions, so it doesn't work on objects that aren't defined.
Merge pull request #6928 from minrk/pdoc-expr

remove no-longer-true pdoc comment