U
    ð¤ùd‡  ã                   @   s$   d Z ddlmZ G dd„ deƒZdS )z(A BSON wrapper for long (int in python3)é    )ÚAnyc                   @   s6   e Zd ZdZdZdZedœdd„Ze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.

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