Ë
    (täiD  ã                   ó   — d Z ddlZd„ Zy)z3
Doc utilities: Utilities related to documentation
é    Nc                 ó   ‡ — ˆ fd„}|S )Nc                 óh  •— | j                   }|j                  d«      }d}|t        |«      k  rFt        j                  d||   «      €-|dz  }|t        |«      k  rt        j                  d||   «      €Œ-|t        |«      k  r‰||<   dj                  |«      }nt        d| › d|› �«      ‚|| _         | S )NÚ
r   z^\s*Examples?:\s*$é   zThe function zY should have an empty 'Examples:' in its docstring as placeholder, current docstring is:
)Ú__doc__ÚsplitÚlenÚreÚsearchÚjoinÚ
ValueError)ÚfnÚfunc_docÚlinesÚiÚexample_docstrings       €úh/Volumes/fast/ai/experiments/MLX_z-image/.venv/lib/python3.12/site-packages/diffusers/utils/doc_utils.pyÚdocstring_decoratorz6replace_example_docstring.<locals>.docstring_decorator   s½   ø€ Ø—:‘:ˆØ—‘˜tÓ$ˆØˆØ”#�e“*Šn¤§¡Ð+@À%ÈÁ(Ó!KÐ!SØ�‰FˆAð ”#�e“*Šn¤§¡Ð+@À%ÈÁ(Ó!KÑ!SàŒs�5‹zŠ>Ø(ˆE�!‰HØ—y‘y Ó'‰HäØ ˜tð $*Ø*2¨ð5óð ð ˆŒ
Øˆ	ó    © )r   r   s   ` r   Úreplace_example_docstringr      s   ø€ ôð" Ðr   )r   r
   r   r   r   r   Ú<module>r      s   ðñó 
ór   