
Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­
<!DOCTYPE html>
<html>
3
í«„^µ  ã               @   s<   d dl mZ ddlmZ eeƒZdd„ ZG dd„ deƒZdS )	é    )Údefaultdicté   )ÚWrapperc             C   s>   yt | j |  S  tk
r8   t| ƒ}|t | j | < |S X dS )z†
    Wrap type attributes from the specified policy.

    This caches results to prevent duplicate wrapper
    objects in memory.
    N)Ú_cond_cacheZpolicyÚKeyErrorÚConditionalWrapper)ÚcondÚa© r
   ú#/usr/lib64/python3.6/conditional.pyÚconditional_wrapper_factory   s    r   c               @   s4   e Zd ZdZdZdd„ Zdd„ Zdd„ Zd	d
„ ZdS )r   zHWrap conditional policy expressions to allow comparisons by truth table.Útruth_tablec             C   s   || _ |jƒ | _d S )N)Úoriginr   )Úselfr   r
   r
   r   Ú__init__1   s    zConditionalWrapper.__init__c             C   s
   t | jƒS )N)Úhashr   )r   r
   r
   r   Ú__hash__5   s    zConditionalWrapper.__hash__c             C   s   | j |j kS )N)r   )r   Úotherr
   r
   r   Ú__eq__8   s    zConditionalWrapper.__eq__c             C   s   t | jƒt |ƒk S )N)Ústrr   )r   r   r
   r
   r   Ú__lt__;   s    zConditionalWrapper.__lt__N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   r   r   r   r
   r
   r
   r   r   +   s   r   N)Úcollectionsr   Ú
differencer   Údictr   r   r   r
   r
   r
   r   Ú<module>   s   