Files
old-saburly-wagtail-web/env/lib/python3.10/site-packages/PIL/__pycache__/GimpPaletteFile.cpython-310.pyc

15 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-08-27 20:33:44 +02:00
o
<00><><EFBFBD>f<EFBFBD><00>@s>ddlmZddlZddlmZddlmZGdd<07>d<07>ZdS)<08>)<01> annotationsN)<01>IO<49><00><01>o8c@s(eZdZdZdZd dd<08>Zdd
d <0B>Zd S)<0F>GimpPaletteFilez'File handler for GIMP's palette format.<2E>RGB<47>fp<66> IO[bytes]<5D>return<72>NonecCs<>dd<02>td<03>D<00>}|<01><01>dd<04>dkrd}t|<03><01>td<03>D]J}|<01><01>}|s'nAt<03>d|<05>r.qt|<05>dkr:d }t|<03><01>ttt|<05> <09>dd
<EFBFBD><00><02>}t|<06>d
krSd }t
|<03><01>t |d <00>t |d <00>t |d<00>||<qd<0F> |<02>|_ dS)NcSsg|]}t|<01>d<00>qS)<01>r)<02>.0<EFBFBD>i<>r<00>U/home/amir/Desktop/saburlyweb/env/lib/python3.10/site-packages/PIL/GimpPaletteFile.py<70>
<listcomp>sz,GimpPaletteFile.__init__.<locals>.<listcomp><3E><00> s GIMP Paletteznot a GIMP palette files\w+:|#<23>dzbad palette filer zbad palette entryrr<00><00>)<0E>range<67>readline<6E> SyntaxError<6F>re<72>match<63>len<65>tuple<6C>map<61>int<6E>split<69>
ValueErrorr<00>join<69>palette)<07>selfr r$<00>msgr<00>s<>vrrr<00>__init__s&    *zGimpPaletteFile.__init__<5F>tuple[bytes, str]cCs |j|jfS)N)r$<00>rawmode)r%rrr<00>
getpalette9s zGimpPaletteFile.getpaletteN)r r
r r )r r*)<07>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__r+r)r,rrrrrs

r)<08>
__future__rr<00>typingr<00>_binaryrrrrrr<00><module>s