title: Creating custom string type in Python
body: <p>In Python, is there an option to create a custom string class, that could be created by typing something like:</p>
  
  <pre><code>a = b"some string"
  a.someCustomMethod()
  </code></pre>
  
  <p>Just like python has its <code>u""</code> and <code>r""</code> strings?</p>