title: Convert binary string to binary literal
body: <p>I'm using Python 3.2.2.</p>
  
  <p>I'm looking for a function that converts a binary string, e.g. '0b1010' or '1010', into a binary literal, e.g. 0b1010 (not a string or a decimal integer literal).</p>
  
  <p>It's an easy matter to roll-my-own, but I prefer to use either a standard function or one that is well-established: I don't want to 're-invent the wheel.'</p>
  
  <p>Regardless, I'm happy look at any efficient algorithms y'all might have.</p>