
    wg                     R    d dl Z d dlZd dlmZ d dlmZ  eddd      efd       Zy)	    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                    t         j                  |   }t        |dd       }|t        d      t        j
                  j                  t        j
                  j                  |      |       }t        |dd       }|,	 |j                  |      }t        |j                  d            S t        t        j
                  j                  |      d      S # t        t        f$ r Y :w xY w)N__file__z%r has no __file__!
__loader__zutf-8rb)sysmodulesgetattrOSErrorospathjoindirnameget_datar   decodeAttributeErroropennormpath)
identifierpkgnamemodfnr   loaderdatas          \/home/mcse/projects/flask/flask-venv/lib/python3.12/site-packages/sympy/utilities/pkgdata.pyget_resourcer    
   s     ++g
C	j$	'B	z+,,77<<+Z8DS,-F	2??4(D DKK011  &--	 ( 		s   ;C C! C!)r   r   ior   sympy.utilities.decoratorr   __name__r         r   <module>r&      s>     	  0  $( &. ..r%   