ó
¡¼™\c           @  sL   d  Z  d d l m Z m Z d d l m Z e d e f d „  ƒ  Yƒ Z d S(   s(   Trait for implementing domain elements. iÿÿÿÿ(   t   print_functiont   division(   t   publict   DomainElementc           B  s   e  Z d  Z d „  Z RS(   sº   
    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(   Ns   abstract method(   t   NotImplementedError(   t   self(    (    s@   lib/python2.7/site-packages/sympy/polys/domains/domainelement.pyt   parent   s    (   t   __name__t
   __module__t   __doc__R   (    (    (    s@   lib/python2.7/site-packages/sympy/polys/domains/domainelement.pyR      s   N(   R	   t
   __future__R    R   t   sympy.utilitiesR   t   objectR   (    (    (    s@   lib/python2.7/site-packages/sympy/polys/domains/domainelement.pyt   <module>   s   