
    g                         d Z d Zy)zQString compatibility.c                 \    | j                  d      }t        |      dz  }|dd dv r|dz  }|S )zP
    Tries to compute what the length of an utf16-encoded QString would be.
    utf16   N)s   s   s      )encodelen)text
utf16_textlengths      8lib/python3.12/site-packages/qtconsole/qstringhelpers.pyqstring_lengthr      s?     W%J_!F "1~@@!M    N)__doc__r    r   r   <module>r      s   
 
r   