@property
    def width(self):
        width = wcwidth.wcswidth(self._s)
        if len(self._s) > 0 and width < 1:
            raise ValueError("Can't calculate width of string %r" % self._s)
        return width

    #TODO cache this
dataset/ETHPy150Open thomasballinger/curtsies/curtsies/formatstring.py/Chunk.width/original