<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
B
    &`,	                 @   sv   d dl Z ddddgZyd dlmZ W n  ek
rD   d dlmZ Y nX dd Zdd	 ZG d
d dZG dd dZ	dS )    Ninstall
NullFinder	PyPy_reprProtocol)r   c             C   s   t j|   t  | S )z
    Class decorator for installation on sys.meta_path.

    Adds the backport DistributionFinder to sys.meta_path and
    attempts to disable the finder functionality of the stdlib
    DistributionFinder.
    )sys	meta_pathappenddisable_stdlib_finder)cls r   K/opt/alt/python37/lib/python3.7/site-packages/importlib_metadata/_compat.pyr      s    c              C   s&   dd } xt | tjD ]}|`qW dS )z
    Give the backport primacy for discovering path-based distributions
    by monkey-patching the stdlib O_O.

    See #91 for more background for rationale on this sketchy
    behavior.
    c             S   s   t | dd dkot| dS )N
__module___frozen_importlib_externalfind_distributions)getattrhasattr)finderr   r   r   matches(   s    z&disable_stdlib_finder.<locals>.matchesN)filterr   r   r   )r   r   r   r   r   r	      s    	r	   c               @   s    e Zd ZdZedd ZeZdS )r   zj
    A "Finder" (aka "MetaClassFinder") that never finds any modules,
    but may find distributions.
    c              O   s   d S )Nr   )argskwargsr   r   r   	find_spec7   s    zNullFinder.find_specN)__name__r   __qualname____doc__staticmethodr   find_moduler   r   r   r   r   1   s   
c               @   s,   e Zd ZdZeedZdd Zer&eZ[dS )r   zc
    Override repr for EntryPoint objects on PyPy to avoid __iter__ access.
    Ref #97, #102.
    Zpypy_version_infoc                s*    fdd}d t| j}d| dS )Nc                s   t  | }|  d|S )N=)r   )namevalue)selfr   r   
make_paramM   s    
z-PyPy_repr.__compat_repr__.<locals>.make_paramz, zEntryPoint())joinmap_fields)r    r!   paramsr   )r    r   __compat_repr__L   s    zPyPy_repr.__compat_repr__N)	r   r   r   r   r   r   Zaffectedr'   __repr__r   r   r   r   r   D   s   
)
r   __all__typingr   ImportErrortyping_extensionsr   r	   r   r   r   r   r   r   <module>   s   