title: How do you alias a type in Python?
body: <p>In some (mostly functional) languages you can do something like this:</p>
  
  <pre><code>type row = list(datum)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>type row = [datum]
  </code></pre>
  
  <p>So that we can build things like this:</p>
  
  <pre><code>type row = [datum]
  type table = [row]
  type database = [table]
  </code></pre>
  
  <p>Is there a way to do this in Python? You could do it using classes, but Python has quite some functional aspects so I was wondering if it could be done an easier way.</p>