title: Python: Return tuple or list?
body: <p>I have a method that returns either a list or a tuple. What is the most pythonic way of denoting the return type in the argument?</p>
  
  <pre><code>def names(self, section, as_type=()):
      return type(as_type)(([m[0] for m in self.items(section)]))
  </code></pre>