According to Stack Overflow and Quora, a semicolon at the end of a Python statement does nothing.  When I type dir() at the IPython prompt, I see a list of variables in my namespace.  If I type dir();, however, I see nothing.  What could explain this?
I am getting to know Python 3.7 using Spyder, installed using Anaconda.