%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/PIL/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/PIL/__pycache__/features.cpython-312.pyc |
� ��e�% � �� � d dl mZ d dlZd dlZd dlZd dlZd dlZddlmZ ddddd d �Z d� Z d� Zd � Zddddd�Z d� Zd� Zd� Zdddddddddd� Zd � Zd!� Zd"� Zd#� Zd$� Zd%� Zd'd&�Zy)(� )�annotationsN� )�Image)�PIL._imaging�PILLOW_VERSION)zPIL._tkinter_finder� tk_version)�PIL._imagingft�freetype2_version)zPIL._imagingcms�littlecms_version)� PIL._webp�webpdecoder_version)�pil�tkinter� freetype2� littlecms2�webpc �� � | t vrd| � �}t |� �t | \ }} t |� y# t $ r Y yt $ r(}t j t |� � Y d}~yd}~ww xY w)z� Checks if a module is available. :param feature: The module to check for. :returns: ``True`` if available, ``False`` otherwise. :raises ValueError: If the module is not defined in this version of Pillow. zUnknown module TFN)�modules� ValueError� __import__�ModuleNotFoundError�ImportError�warnings�warn�str)�feature�msg�module�ver�exs �./usr/lib/python3/dist-packages/PIL/features.py�check_moduler"