o
    ohF                     @   s   d dl mZ 	 dddZdS )    )PythonCodePrinterpython3c                 C   s^   t d|i}|| }|jd rddd |jD }nddd |j D }|d | S )	zRenders Python code as a module (with the required imports).

    Parameters
    ==========

    standard :
        See the parameter ``standard`` in
        :meth:`sympy.printing.pycode.pycode`
    standardfully_qualified_modules
c                 s   s    | ]}d | V  qdS )z	import %sN ).0kr   r   i/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/sympy/codegen/pyutils.py	<genexpr>   s    z#render_as_module.<locals>.<genexpr>c                 S   s"   g | ]\}}d |d |f qS )zfrom %s import %sz, )join)r   r	   vr   r   r
   
<listcomp>   s    z$render_as_module.<locals>.<listcomp>z

)r   doprint	_settingsr   module_importsitems)contentr   printerpystrmodule_imports_strr   r   r
   render_as_module   s   


r   N)r   )sympy.printing.pycoder   r   r   r   r   r
   <module>   s    