§
    Ú” jP  ã                   óB  — d Z ddlmZ ddlmZ e ed¦  «         G d„ d¦  «        ¦   «         ¦   «         Ze ed¦  «         G d„ d	e¦  «        ¦   «         ¦   «         Ze ed¦  «         G d
„ de¦  «        ¦   «         ¦   «         Ze ed¦  «         G d„ de¦  «        ¦   «         ¦   «         Ze ed¦  «         G d„ de¦  «        ¦   «         ¦   «         Z	e ed¦  «         G d„ de	¦  «        ¦   «         ¦   «         Z
e ed¦  «         G d„ de
¦  «        ¦   «         ¦   «         ZdS )z>A module with the precisions of generic `~numpy.number` types.é    )Úfinal)Ú
set_moduleznumpy.typingc                   ó$   ‡ — e Zd ZdZdˆ fd„Zˆ xZS )ÚNBitBasea(  
    A type representing `numpy.number` precision during static type checking.

    Used exclusively for the purpose of static type checking, `NBitBase`
    represents the base of a hierarchical set of subclasses.
    Each subsequent subclass is herein used for representing a lower level
    of precision, *e.g.* ``64Bit > 32Bit > 16Bit``.

    .. versionadded:: 1.20

    .. deprecated:: 2.3
        Use ``@typing.overload`` or a ``TypeVar`` with a scalar-type as upper
        bound, instead.

    Examples
    --------
    Below is a typical usage example: `NBitBase` is herein used for annotating
    a function that takes a float and integer of arbitrary precision
    as arguments and returns a new float of whichever precision is largest
    (*e.g.* ``np.float16 + np.int64 -> np.float64``).

    .. code-block:: python

        >>> from typing import TypeVar, TYPE_CHECKING
        >>> import numpy as np
        >>> import numpy.typing as npt

        >>> S = TypeVar("S", bound=npt.NBitBase)
        >>> T = TypeVar("T", bound=npt.NBitBase)

        >>> def add(a: np.floating[S], b: np.integer[T]) -> np.floating[S | T]:
        ...     return a + b

        >>> a = np.float16()
        >>> b = np.int64()
        >>> out = add(a, b)

        >>> if TYPE_CHECKING:
        ...     reveal_locals()
        ...     # note: Revealed local types are:
        ...     # note:     a: numpy.floating[numpy.typing._16Bit*]
        ...     # note:     b: numpy.signedinteger[numpy.typing._64Bit*]
        ...     # note:     out: numpy.floating[numpy.typing._64Bit*]

    ÚreturnNc                 ó€   •— h d£}| j         |vrt          d¦  «        ‚t          ¦   «                              ¦   «          d S )N>   Ú_8BitÚ_16BitÚ_32BitÚ_64BitÚ_96BitÚ_128Bitr   z*cannot inherit from final class "NBitBase")Ú__name__Ú	TypeErrorÚsuperÚ__init_subclass__)ÚclsÚallowed_namesÚ	__class__s     €úlC:\Users\Terasoftware\OneDrive\Desktop\faahhh\fyndo\fyndo\venv\Lib\site-packages\numpy/_typing/_nbit_base.pyr   zNBitBase.__init_subclass__9   sQ   ø€ ð
ð 
ð 
ˆð Œ<˜}Ð,ð 	JÝÐHÑIÔIÐIÝ‰Œ×!Ò!Ñ#Ô#Ð#Ð#Ð#ó    )r   N)r   Ú
__module__Ú__qualname__Ú__doc__r   Ú__classcell__)r   s   @r   r   r      sH   ø€ € € € € ð,ð ,ð^$ð $ð $ð $ð $ð $ð $ð $ð $ð $r   r   znumpy._typingc                   ó   — e Zd ZdS )r   N©r   r   r   © r   r   r   r   A   s   € € € € € ð 	€Dr   r   c                   ó   — e Zd ZdS )r   Nr   r   r   r   r   r   G   ó   € € € € € ð 	€Dr   r   c                   ó   — e Zd ZdS )r   Nr   r   r   r   r   r   L   r    r   r   c                   ó   — e Zd ZdS )r   Nr   r   r   r   r   r   Q   r    r   r   c                   ó   — e Zd ZdS )r
   Nr   r   r   r   r
   r
   V   r    r   r
   c                   ó   — e Zd ZdS )r	   Nr   r   r   r   r	   r	   [   r    r   r	   N)r   Útypingr   Únumpy._utilsr   r   r   r   r   r   r
   r	   r   r   r   ú<module>r'      sE  ðØ DÐ DØ Ð Ð Ð Ð Ð à #Ð #Ð #Ð #Ð #Ð #ð Ø€ˆNÑÔð6$ð 6$ð 6$ð 6$ð 6$ñ 6$ô 6$ñ Ôñ „ð6$ðp Ø€ˆOÑÔð	ð 	ð 	ð 	ð 	ˆhñ 	ô 	ñ Ôñ „ð	ð Ø€ˆOÑÔð	ð 	ð 	ð 	ð 	ˆWñ 	ô 	ñ Ôñ „ð	ð Ø€ˆOÑÔð	ð 	ð 	ð 	ð 	ˆVñ 	ô 	ñ Ôñ „ð	ð Ø€ˆOÑÔð	ð 	ð 	ð 	ð 	ˆVñ 	ô 	ñ Ôñ „ð	ð Ø€ˆOÑÔð	ð 	ð 	ð 	ð 	ˆVñ 	ô 	ñ Ôñ „ð	ð Ø€ˆOÑÔð	ð 	ð 	ð 	ð 	ˆFñ 	ô 	ñ Ôñ „ð	ð 	ð 	r   