title: Does Python traceback.print_exc() prints to stdout or stderr?
body: <p>I've read some <a href="https://docs.python.org/3/library/traceback.html" rel="noreferrer">Python docs</a>, but I can't find where the print_exc function prints. So I searched some stack overflow, it says "<code>print_exc()</code> prints formatted exception to stdout". <a href="https://stackoverflow.com/a/3419961/3096304">Link</a> </p>
  
  <p>I've been so confused.. In my opinion, that function should print to stderr because it's ERROR!.. What is right? </p>