ó
    ¬œ‘h´  ã                  ó*  • S r SSKJr  SSKrSSKrSSKrSSKJr  SSKJ	r	J
r
JrJrJrJr  SSKrSSKJr  SSKJrJrJrJrJrJrJrJrJrJrJrJr  \(       a  SSK J!r!  SS	 jr"SS
 jr#SS jr$SS jr%SS jr&SS jr'SS jr(SS jr)SS jr*SS jr+/ SQr,g)zn
compat
======

Cross-compatible functions for different versions of Python.

Other items:
* platform checker
é    )ÚannotationsN)ÚTYPE_CHECKING)ÚIS64ÚISMUSLÚPY310ÚPY311ÚPY312ÚPYPY)Úis_numpy_dev)ÚHAS_PYARROWÚpa_version_under10p1Úpa_version_under11p0Úpa_version_under13p0Úpa_version_under14p0Úpa_version_under14p1Úpa_version_under16p0Úpa_version_under17p0Úpa_version_under18p0Úpa_version_under19p0Úpa_version_under20p0Úpa_version_under21p0)ÚFc                ó`   • Xl         UR                    SU 3U l        UR                  U l        U $ )z4
Bind the name/qualname attributes of the function.
Ú.)Ú__name__Ú__qualname__Ú
__module__)ÚfÚnameÚclss      ÚZC:\Users\psant\Downloads\Noiseback\school\venv\Lib\site-packages\pandas/compat/__init__.pyÚset_function_namer"   .   s/   € ð „JØŸ™�~ Q t fÐ-€A„NØ—>‘>€A„LØ€Hó    c                 ó(   • [         R                  S:H  $ )z}
Checking if the running platform is little endian.

Returns
-------
bool
    True if the running platform is little endian.
Úlittle)ÚsysÚ	byteorder© r#   r!   Úis_platform_little_endianr)   8   s   € ô �=‰=˜HÑ$Ð$r#   c                 ó(   • [         R                  S;   $ )zq
Checking if the running platform is windows.

Returns
-------
bool
    True if the running platform is windows.
)Úwin32Úcygwin©r&   Úplatformr(   r#   r!   Úis_platform_windowsr/   D   s   € ô �<‰<Ð.Ñ.Ð.r#   c                 ó(   • [         R                  S:H  $ )zm
Checking if the running platform is linux.

Returns
-------
bool
    True if the running platform is linux.
Úlinuxr-   r(   r#   r!   Úis_platform_linuxr2   P   s   € ô �<‰<˜7Ñ"Ð"r#   c                 ó(   • [         R                  S:H  $ )zi
Checking if the running platform is mac.

Returns
-------
bool
    True if the running platform is mac.
Údarwinr-   r(   r#   r!   Úis_platform_macr5   \   s   € ô �<‰<˜8Ñ#Ð#r#   c                 óˆ   • [         R                  " 5       S;   =(       d$    [         R                  " 5       R                  S5      $ )z†
Checking if the running platform use ARM architecture.

Returns
-------
bool
    True if the running platform uses ARM architecture.
)Úarm64Úaarch64Úarmv)r.   ÚmachineÚ
startswithr(   r#   r!   Úis_platform_armr<   h   s9   € ô ×ÒÓÐ!5Ñ5÷ ¼×9IÒ9IÓ9K×9VÑ9VØó:ð r#   c                 ó2   • [         R                  " 5       S;   $ )zˆ
Checking if the running platform use Power architecture.

Returns
-------
bool
    True if the running platform uses ARM architecture.
)Úppc64Úppc64le)r.   r:   r(   r#   r!   Úis_platform_powerr@   v   s   € ô ×ÒÓÐ!5Ñ5Ð5r#   c                 óH   • [         R                  R                  SS5      S:H  $ )zÄ
Checking if running in a continuous integration environment by checking
the PANDAS_CI environment variable.

Returns
-------
bool
    True if the running in a continuous integration environment.
Ú	PANDAS_CIÚ0Ú1)ÚosÚenvironÚgetr(   r#   r!   Úis_ci_environmentrH   ‚   s   € ô �:‰:�>‰>˜+ sÓ+¨sÑ2Ð2r#   c                 ó²   • [         R                  R                  R                  (       d  [	        S5      e[         R                  R                  R
                  $ )zâ
Importing the `LZMAFile` class from the `lzma` module.

Returns
-------
class
    The `LZMAFile` class from the `lzma` module.

Raises
------
RuntimeError
    If the `lzma` module was not imported correctly, or didn't exist.
zslzma module not available. A Python re-install with the proper dependencies, might be required to solve this issue.)ÚpandasÚcompatÚcompressorsÚhas_lzmaÚRuntimeErrorÚLZMAFiler(   r#   r!   Úget_lzma_filerP   �   sA   € ô �=‰=×$Ñ$×-×-Üð5ó
ð 	
ô
 �=‰=×$Ñ$×-Ñ-Ð-r#   c                 ó²   • [         R                  R                  R                  (       d  [	        S5      e[         R                  R                  R
                  $ )zÝ
Importing the `BZ2File` class from the `bz2` module.

Returns
-------
class
    The `BZ2File` class from the `bz2` module.

Raises
------
RuntimeError
    If the `bz2` module was not imported correctly, or didn't exist.
zrbz2 module not available. A Python re-install with the proper dependencies, might be required to solve this issue.)rJ   rK   rL   Úhas_bz2rN   ÚBZ2Filer(   r#   r!   Úget_bz2_filerT   ¦   sA   € ô �=‰=×$Ñ$×,×,Üð5ó
ð 	
ô
 �=‰=×$Ñ$×,Ñ,Ð,r#   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r	   r
   )r   r   r   Ústrr    ÚtypeÚreturnr   )rW   Úbool)rW   z(type[pandas.compat.compressors.LZMAFile])rW   z'type[pandas.compat.compressors.BZ2File])-Ú__doc__Ú
__future__r   rE   r.   r&   Útypingr   Úpandas.compat._constantsr   r   r   r   r	   r
   Úpandas.compat.compressorsrJ   Úpandas.compat.numpyr   Úpandas.compat.pyarrowr   r   r   r   r   r   r   r   r   r   r   r   Úpandas._typingr   r"   r)   r/   r2   r5   r<   r@   rH   rP   rT   Ú__all__r(   r#   r!   Ú<module>rb      s‚   ðñõ #ã 	Û Û 
Ý  ÷÷ ó !Ý ,÷÷ ÷ ó ö Ý ôô	%ô	/ô	#ô	$ôô	6ô
3ô.ô.-ò.�r#   