class_docstr: The sole purpose of this domain is a parallel_read_safe data store for the
  redirects mapping.
docstr: The mapping of the redirects.
docstr_tok: ["The","mapping","of","the","redirects","."]
code: def redirects(self):
      """The mapping of the redirects."""
      return self.data.setdefault("redirects", {})
  
file_path: matplotlib/doc/sphinxext/redirect_from.py
imports: from pathlib import Path
  from docutils.parsers.rst import Directive
  from sphinx.domains import Domain
  from sphinx.util import logging
label_desc: Use image node_id 1 for calling the RedirectFromDomain obj's underlying member method code with example usage: obj.redirects() and returns: self