Files
serveur-d-authentification/venv/lib/python3.10/site-packages/PIL/__pycache__/GimpPaletteFile.cpython-310.pyc

16 lines
2.0 KiB
Plaintext
Raw Normal View History

o
<00>Q<EFBFBD>jD<00>@sFddlmZddlZddlmZdZerddlmZGdd<07>d<07>ZdS)<08>)<01> annotationsN)<01>BytesIOF)<01>IOc@sBeZdZdZdZddd
d <0B>Zdd d <0A>Zeddd<11><04>Zddd<14>Z dS)<1B>GimpPaletteFilez'File handler for GIMP's palette format.<2E>RGBT<42>fp<66> IO[bytes]<5D>limit<69>bool<6F>return<72>Nonecs<>|<01><00><00>d<01>s d}t|<03><01>g}d} |r|dkrnI|d7}|<01><00>}|s$n>t<03>d|<06>r+q|r9t|<06>dkr9d }t|<03><01>|jd
d <0B><01>t<05><00>d
krKd }t|<03><01>|<04>fd d<0E>td
<EFBFBD>D<00>7}|rat|<04>dkranqt |<04>|_
dS)Ns GIMP Paletteznot a GIMP palette filerTi<00>s\w+:|#<23>dzbad palette file<6C>)<01>maxsplitzbad palette entryc3s<00>|] }t<00>|<00>VqdS<00>N)<01>int)<02>.0<EFBFBD>i<><01>v<><00>v/home/sorel/systeme_gestion_cerfig/serveur-d-authentification/venv/lib/python3.10/site-packages/PIL/GimpPaletteFile.py<70> <genexpr>;s<02>z(GimpPaletteFile._read.<locals>.<genexpr>i) <0B>readline<6E>
startswith<EFBFBD> SyntaxError<6F>re<72>match<63>len<65>split<69>
ValueError<EFBFBD>range<67>bytes<65>palette)<07>selfrr <00>msgr$r<00>srrr<00>_reads4    <02>zGimpPaletteFile._readcCs|<00>|<01>dSr)r()r%rrrr<00>__init__AszGimpPaletteFile.__init__<5F>datar#cCs|<00>|<00>}|<02>t|<01>d<01>|S)NF)<03>__new__r(r)<03>clsr*r%rrr<00> frombytesDs
zGimpPaletteFile.frombytes<65>tuple[bytes, str]cCs |j|jfSr)r$<00>rawmode)r%rrr<00>
getpaletteJs zGimpPaletteFile.getpaletteN)T)rrr r
r r )rrr r )r*r#r r)r r.)
<EFBFBD>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__r/r(r)<00> classmethodr-r0rrrrrs 
" r) <09>
__future__rr<00>ior<00> TYPE_CHECKING<4E>typingrrrrrr<00><module>s