ó
    æk7i5  ã                  ó¦   • % S r SSKJr  SrSSKJr  Sr\(       a  SSKrSSKJ	r	J
r
Jr   " S S	\
5      rOSS
KJr   " S S\5      r\" 5       rS\S'   g)zT
This package contains modules for language-dependent features of
reStructuredText.
é    )ÚannotationsÚreStructuredText)ÚLanguageImporterFN)ÚNoReturnÚProtocolÚoverloadc                  ó4   • \ rS rSr% S\S'   S\S'   S\S'   Srg)	ÚRSTLanguageModuleé   ÚstrÚ__name__zdict[str, str]Ú
directivesÚroles© N)r   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__annotations__Ú__static_attributes__r   ó    Úa/home/james-whalen/.local/lib/python3.13/site-packages/docutils/parsers/rst/languages/__init__.pyr
   r
      s   ‡ Ø‹à"Ó"ØÖr   r
   )r   c                  óZ   • \ rS rSrSrSrSrSr\S
S j5       r	\SS j5       r	  SS jr	S	r
g)ÚRstLanguageImporteré!   a!  Import language modules.

When called with a BCP 47 language tag, instances return a module
with localisations for "directive" and "role" names for  from
`docutils.parsers.rst.languages` or the PYTHONPATH.

If there is no matching module, warn (if a `reporter` is passed)
and return None.
)zdocutils.parsers.rst.languages.Ú z-rST localisation for language "%s" not found.Nc                ó   • g ©Nr   ©ÚselfÚmodules     r   Úcheck_contentÚ!RstLanguageImporter.check_content/   ó   € àr   c                ó   • g r   r   r   s     r   r!   r"   3   r#   r   c                óŒ   • [        UR                  [        5      (       a  [        UR                  [        5      (       d  [        eg)z'Check if we got an rST language module.N)Ú
isinstancer   Údictr   ÚImportErrorr   s     r   r!   r"   7   s3   € ô ˜6×,Ñ,¬d×3Ñ3Ü˜vŸ|™|¬T×2Ñ2ÜÐð 3r   r   )r    r
   ÚreturnÚNone)r    ztypes.ModuleTyper)   r   )r    z$RSTLanguageModule | types.ModuleTyper)   r*   )r   r   r   r   Ú__doc__ÚpackagesÚwarn_msgÚfallbackr   r!   r   r   r   r   r   r   !   sK   † ñð 7€HØ>€HØ€Hàóó ðð óó ððØ÷r   r   z#LanguageImporter[RSTLanguageModule]Úget_language)r+   Ú
__future__r   Ú__docformat__Údocutils.languagesr   ÚTYPE_CHECKINGÚtypesÚtypingr   r   r   r
   Údocutils.utils._typingr   r/   r   r   r   r   Ú<module>r7      sW   ðòõ
 #à"€å /à€ÞÛß3Ñ3ô˜Hõ õ 0ôÐ*ô ñ< 5HÓ4I€Ð1Ô Ir   