Why cannot pass print function to dir() in python?
<p>Is print a built-in function? If it is, why I cannot run <code>dir(print)</code>? <code>dir</code> is a built-in function and <code>dir(dir)</code> works well. So it looks very strange to me that <code>dir(print)</code> could not work.</p>
