
    kh\                     2    d Z ddlmZ e G d d             Zy)z(Trait for implementing domain elements.     )publicc                       e Zd ZdZdZd Zy)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/teggl/fontify/venv/lib/python3.12/site-packages/sympy/polys/domains/domainelement.pyparentzDomainElement.parent   s    * ""344    N)__name__
__module____qualname____doc__	__slots__r   r   r   r
   r   r      s     I5r   r   N)r   sympy.utilitiesr   r   r   r   r
   <module>r      s$    . #5 5 5r   