title: Why does open(True, 'w') print the text like sys.stdout.write?
body: <p>I have the following code:</p>
  
  <pre><code>with open(True, 'w') as f:
      f.write('Hello')
  </code></pre>
  
  <p>Why does this code print the text <code>Hello</code> instead of raise an error?</p>