
    ;TB                        d Z ddlZej        dk    Z	 ddlZn# e$ r ddlZY nw xY w	 ddlmZ n# e$ r	 ddl	mZ Y nw xY w	 ddl
mZ n # e$ r 	 ddlmZ n# e$ r dZY nw xY wY nw xY wd Z	 ddlmZ n# e$ r 	 ddlZn# e$ r dZY nw xY wY nw xY w	 ddlmZ n# e$ r	 ddlmZ Y nw xY wereZeZd	 ZneZeZeZd
 Zd ZdS )zDSpecial module to handle differences between Python 2 and 3 versions    N)   r   )urlopen)md5c                     t                      }t          r)|                    |                     d                     n|                    |            |                                S )NzUTF-8)r   PY3Kupdateencode	hexdigest)fnhs     Y/var/www/html/Pagina-Ingenieria-Requisitos/venv/lib/python3.11/site-packages/fpdf/py3k.pyhashpathr      sQ    A 	7##$$$$	;;==    )Image)
HTMLParserc                     | S )N )xs    r   <lambda>r   6   s    A r   c                     t          | t                    r|                     d          S t          | t                    r&t          rt          | g          S t          |           S d S )Nlatin1)
isinstance
basestringr	   intr   byteschr)ss    r   br   =   sc    !Z   xx!!!	As		  	!::q66M	 r   c                  4    t          j                    d         S )zAReturn the current the exception instance currently being handled   )sysexc_infor   r   r   	exceptionr#   F   s     <>>!r   )__doc__r!   version_infor   cPicklepickleImportErrorurllibr   urllib.requesthashlibr   r   PILr   r   html.parserstrr   unicodeordr   r#   r   r   r   <module>r1      s=   G F 




6!   MMMMM$ $ $ $########$      
        $""""""" $ $ $########$  JG
+CCJG
C      s    	$$/ ==A A%AA%AA%AA%$A%,A3 3B9A>=B>BBBBBB B'&B'