class documentation

class RstLanguageImporter(LanguageImporter):

View In Hierarchy

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.

Method check​_content Check if we got an rST language module.
Class Variable fallback Undocumented
Class Variable packages Undocumented
Class Variable warn​_msg Undocumented

Inherited from LanguageImporter:

Method __call__ Undocumented
Method __init__ Undocumented
Method import​_from​_packages Try loading module name from self.packages.
Instance Variable cache Undocumented
def check_content(self, module):
Check if we got an rST language module.
fallback =
packages: tuple[str, ...] =
warn_msg: str =