� !A?h�$ � � � d Z ddlZddlZddlZddgZdZ ej eed�� � d� Z ej d � � j Z G d � de� � Z d� Zd � Zd� Zd� Zd� Zd� Zddg fd�Zdd�Zg fd�Zd� Zd� Zd� Zedk r e� � dS dS )z%Mailcap file handling. See RFC 1524.� N�getcaps� findmatchztThe {name} module is deprecated and will be removed in Python {remove}. See the mimetypes module for an alternative.)� � )�removec �" � d| v r d| d fS dS )N�linenor )� r � )�entrys �4/opt/alt/python-internal/lib64/python3.11/mailcap.py�lineno_sort_keyr s! � ��5����%��/�!�!��t� z[^\xa1-\U0010FFFF\w@+=:,./-]c � � e Zd ZdZdS )�UnsafeMailcapInputz)Warning raised when refusing unsafe inputN)�__name__� __module__�__qualname__�__doc__r r r r r s � � � � � �3�3�3�3r r c �2 � i } d}t � � D ]�} t |d� � }n# t $ r Y � w xY w|5 t ||� � \ }}ddd� � n# 1 swxY w Y |� � � D ]\ }}|| vr|| |<