
    jkeJ                     N    g d Z 	 ej                  Z	 eZd Zy# e$ r d ZY w xY w))popCount	bit_countbit_indicesc                 6    t        |       j                  d      S )N1)bincount)vs    9/usr/lib/python3/dist-packages/fontTools/misc/intTools.pyr   r      s    1v||C      c                 t    t        t        |       ddd         D cg c]  \  }}|dk(  s| c}}S c c}}w )zReturn list of indices where bits are set, 0 being the index of the least significant bit.

    >>> bit_indices(0b101)
    [0, 2]
    Nr   )	enumerater   )r	   ibs      r
   r   r      s3     $CF4R4L1>$!QQ#XA>>>s   44N)__all__intr   AttributeErrorr   r    r   r
   <module>r      s?   
2!I ?  !!!s    $$