title: How to change tag name with BeautifulSoup?
body: <p>I am using python + BeautifulSoup to parse an HTML document. </p>
  
  <p>Now I need to replace all <code>&lt;h2 class="someclass"&gt;</code> elements in an HTML document, with <code>&lt;h1 class="someclass"&gt;</code>. </p>
  
  <p>How can I change the tag name, without changing anything else in the document?</p>