o
    *ήc                     @   sl   d dl mZ edZd dlmZ d dlmZ d dlmZ eddG dd	 d	eeZ	edddddZ
d
S )    )import_modulematchpy)doctest_depends_on)Symbol)Wildcard)r   )modulesc                       sF   e Zd ZdddZdddZdd Zeddd	Z fd
dZ  Z	S )	matchpyWCNc                 K   s   t | ||t|| d S N)r   __init__str)self
min_length
fixed_sizevariable_nameoptionalassumptions r   B/tmp/pip-target-vg8gfxp4/lib/python/sympy/integrals/rubi/symbol.pyr
   
   s   zmatchpyWC.__init__c                 K   s&   |  ||  tj| ||||fi |S r	   )	_sanitizer   __xnew__)clsr   r   r   r   r   r   r   r   __new__   s   zmatchpyWC.__new__c                 C   s   | j | j| j| jfS r	   )	min_countr   r   r   r   r   r   r   __getnewargs__   s   zmatchpyWC.__getnewargs__c                 K   s   t j| |fi |}|S r	   )r   r   )r   r   r   r   r   r   objr   r   r   r      s   zmatchpyWC.__xnew__c                    s>   | j rt  | j| j| j| j f S t  | j| j| jf S r	   )r   super_hashable_contentr   r   r   r   	__class__r   r   r      s   zmatchpyWC._hashable_contentNN)
__name__
__module____qualname__r
   r   r   staticmethodr   r   __classcell__r   r   r   r   r      s    

r   Nc                 K   s   t dd| |S )N   T)r   )r   r   r   r   r   r   WC   s   r'   r    )sympy.externalr   r   sympy.utilities.decoratorr   sympy.core.symbolr   !sympy.utilities.matchpy_connectorr   r   r'   r   r   r   r   <module>   s    