<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">foo</span><span class="hljs-params">(
  bar, <span class="hljs-comment"># commment</span>
)</span>:</span>
    <span class="hljs-keyword">pass</span>


<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Foo</span><span class="hljs-params">(collections.namedtuple<span class="hljs-params">(<span class="hljs-string">'Test'</span>)</span>, <span class="hljs-params">(
    <span class="hljs-string">'name'</span>, <span class="hljs-comment"># comment</span>
)</span>)</span>:</span>
    <span class="hljs-keyword">pass</span>