
    i
qi\                     @    d Z ddlmZ e G d d                      ZdS )z(Trait for implementing domain elements.     )publicc                       e Zd ZdZdZd ZdS )DomainElementz
    Represents an element of a domain.

    Mix in this trait into a class whose instances should be recognized as
    elements of a domain. Method ``parent()`` gives that domain.
     c                      t          d          )a  Get the domain associated with ``self``

        Examples
        ========

        >>> from sympy import ZZ, symbols
        >>> x, y = symbols('x, y')
        >>> K = ZZ[x,y]
        >>> p = K(x)**2 + K(y)**2
        >>> p
        x**2 + y**2
        >>> p.parent()
        ZZ[x,y]

        Notes
        =====

        This is used by :py:meth:`~.Domain.convert` to identify the domain
        associated with a domain element.
        zabstract method)NotImplementedError)selfs    /var/www/html/bestrading.cuttalo.com/services/ml-inference/venv/lib/python3.11/site-packages/sympy/polys/domains/domainelement.pyparentzDomainElement.parent   s    * ""3444    N)__name__
__module____qualname____doc__	__slots__r   r   r   r
   r   r      s4          I5 5 5 5 5r   r   N)r   sympy.utilitiesr   r   r   r   r
   <module>r      s[    . . # " " " " "5 5 5 5 5 5 5 5 5 5r   