o
    §ƒðj§  ã                   @   sF   d dl Z d dlZd dlmZ d dlmZ edddd�efdd	„ƒZdS )
é    N)ÚStringIO)Ú
deprecatedz‘
    The sympy.utilities.pkgdata module and its get_resource function are
    deprecated. Use the stdlib importlib.resources module instead.
    z1.12Úpkgdata)Údeprecated_since_versionÚactive_deprecations_targetc              	   C   s–   t j| }t|dd ƒ}|d u rtdƒ‚tj tj |¡| ¡}t|dd ƒ}|d urBz| |¡}W n tt	fy:   Y nw t
| d¡ƒS ttj |¡dƒS )NÚ__file__z%r has no __file__!Ú
__loader__zutf-8Úrb)ÚsysÚmodulesÚgetattrÚOSErrorÚosÚpathÚjoinÚdirnameÚget_dataÚAttributeErrorr   ÚdecodeÚopenÚnormpath)Ú
identifierÚpkgnameÚmodÚfnr   ÚloaderÚdata© r   ú™/tmp/claude-1000/-var-www-html-academy/3f42efd1-c2b7-4d08-9b05-30d86bb35479/scratchpad/piper/venv/lib/python3.10/site-packages/sympy/utilities/pkgdata.pyÚget_resource
   s   

ÿr   )r
   r   Úior   Úsympy.utilities.decoratorr   Ú__name__r   r   r   r   r   Ú<module>   s   ú