K iTddlmZddlZddlmZ d dddd d dZy) ) annotationsN) __version__F)actionplural stacklevelc||rdnd}|d}nW|ttjddkr|d|d}t||d k(rd }nd |d td }t ||r|r d}t ||rd|d}n|rd|j dd}nd}tj|d|d||t|y)a. Deprecations helper. :param deprecated: Name of thing to be deprecated. :param when: Pillow major version to be removed in. :param replacement: Name of replacement. :param action: Instead of "replacement", give a custom call to action e.g. "Upgrade to new thing". :param plural: if the deprecated thing is plural, needing "are" instead of "is". Usually of the form: "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd). Use [replacement] instead." You can leave out the replacement sentence: "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd)" Or with another call to action: "[deprecated] is deprecated and will be removed in Pillow [when] (yyyy-mm-dd). [action]." areisNza future version.r z" deprecated and should be removed. zPillow 13 (2026-10-15)zUnknown removal version: z . Update ?z*Use only one of 'replacement' and 'action'z. Use z instead.z. z# deprecated and will be removed in )r ) intrsplit RuntimeError__name__ ValueErrorrstripwarningswarnDeprecationWarning) deprecatedwhen replacementrrr is_removedmsgs T/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/PIL/_deprecate.py deprecater"sD%tC |$ [&&s+A./ / AcU"DE3 *)$y !Dov:o+i0 fmmC()+ MM ,au?yQ)N)rstrrz int | Noner str | Nonerr%rboolr rreturnNone) __future__rrrrr"r#r!r+sj" #> >> >>  >  >> >r#