U
    Û~fhš  ã                   @  s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )z(A BSON wrapper for long (int in python3)é    )Úannotations)ÚAnyc                   @  s6   e Zd ZdZdZdZddœdd„Zddd	œd
d„ZdS )ÚInt64a/  Representation of the BSON int64 type.

    This is necessary because every integral number is an :class:`int` in
    Python 3. Small integral numbers are encoded to BSON int32 by default,
    but Int64 numbers will always be encoded to BSON int64.

    :param value: the numeric value to represent
    © é   r   )Úreturnc                 C  s   i S ©Nr   )Úselfr   r   ú./tmp/pip-unpacked-wheel-36gvocj8/bson/int64.pyÚ__getstate__#   s    zInt64.__getstate__ÚNone)Ústater   c                 C  s   d S r   r   )r	   r   r   r   r
   Ú__setstate__&   s    zInt64.__setstate__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Z_type_markerr   r   r   r   r   r
   r      s
   	r   N)r   Ú
__future__r   Útypingr   Úintr   r   r   r   r
   Ú<module>   s   