def width(self):
        return sum(width(ch)
                   for ch in self._buf
                   if not isinstance(ch, str))
Serialize the given dict to the provided content_type.
dataset/ETHPy150Open twisted/imaginary/imaginary/wiring/terminalui.py/AsynchronousIncrementalUTF8Decoder.width--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/wsgi.py/Controller._serialize