The parent was talking about namedtuple.<p><pre><code>    &gt;&gt;&gt; collections.namedtuple(&quot;test&quot;, &quot;$&quot;)
    Traceback (most recent call last):
    ...
    ValueError: Type names and field names can only contain alphanumeric characters and underscores: &#x27;$&#x27;</code></pre>