o
    õ­dÜ  ã                   @  s@   d Z ddlmZ ddlZejdk rdd	d
„Zddd„ZdS 	 dS )zè
Python3.9 introduces removesuffix and remove prefix.

They're reimplemented here for use in Python3.8.

NOTE: when pyupgrade --py39-plus removes nearly everything in this file,
this file and the associated tests should be removed.
é    )ÚannotationsN)é   é	   ÚstringÚstrÚsuffixÚreturnc                 C  s    |   |¡r| d t|ƒ … S | S ©N)ÚendswithÚlen)r   r   © r   ú]/var/www/html/visualizacion-main/env/lib/python3.10/site-packages/pandas/util/_str_methods.pyÚremovesuffix   s   
r   Úprefixc                 C  s   |   |¡r| t|ƒd … S | S r	   )Ú
startswithr   )r   r   r   r   r   Úremoveprefix   s   
r   )r   r   r   r   r   r   )r   r   r   r   r   r   )Ú__doc__Ú
__future__r   ÚsysÚversion_infor   r   r   r   r   r   Ú<module>   s    

