title: What does second parameter in python3 int(param1, param2) mean when it is set to 0?
body: <p>I'm reading documentation on the <a href="https://docs.python.org/3/library/functions.html#int" rel="nofollow">Python 3 <code>int(...)</code> function</a> and can't understand the following statement:</p>
  
  <blockquote>
    <p>Base 0 means to interpret exactly as a code literal, so that the
    actual base is 2, 8, 10, or 16, and so that int('010', 0) is not
    legal, while int('010') is, as well as int('010', 8).</p>
  </blockquote>
  
  <p>Can someone explain what exactly it is saying? I can't figure it out.</p>