B
    ˜‘[»  ã               @   s8   d Z ddlmZmZ ddlmZ eG dd„ deƒƒZdS )z(Trait for implementing domain elements. é    )Úprint_functionÚdivision)Úpublicc               @   s   e Zd ZdZdd„ ZdS )ÚDomainElementzº
    Represents an element of a domain.

    Mix in this trait into a class which instances should be recognized as
    elements of a domain. Method ``parent()`` gives that domain.

    c             C   s   t dƒ‚d S )Nzabstract method)ÚNotImplementedError)Úself© r   ú@lib/python3.7/site-packages/sympy/polys/domains/domainelement.pyÚparent   s    zDomainElement.parentN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   r   r   r	   r      s   r   N)r   Z
__future__r   r   Zsympy.utilitiesr   Úobjectr   r   r   r   r	   Ú<module>   s   