class_docstr: A loader that is passed a dict of loaders where each loader is bound
  to a prefix.  The prefix is delimited from the template by a slash per
  default, which can be changed by setting the `delimiter` argument to
  something else::
  
      loader = PrefixLoader({
          'app1':     PackageLoader('mypackage.app1'),
          'app2':     PackageLoader('mypackage.app2')
      })
  
  By loading ``'app1/index.html'`` the file from the app1 package is loaded,
  by loading ``'app2/index.html'`` the file from the second.
class_docstr_tok: ["A","loader","that","is","passed","a","dict","of","loaders","where","each","loader","is","bound","to","a","prefix",".","The","prefix","is","delimited","from","the","template","by","a","slash","per","default",",","which","can","be","changed","by","setting","the","`","delimiter","`","argument","to","something","else",":",":","loader","=","PrefixLoader","(","{","'app1","'",":","PackageLoader","(","'mypackage.app1","'",")",",","'app2","'",":","PackageLoader","(","'mypackage.app2","'",")","}",")","By","loading","``","'app1\/index.html","'","``","the","file","from","the","app1","package","is","loaded",",","by","loading","``","'app2\/index.html","'","``","the","file","from","the","second","."]
code: def get_loader(self, template: str) -> t.Tuple[BaseLoader, str]:
      try:
          prefix, name = template.split(self.delimiter, 1)
          loader = self.mapping[prefix]
      except (ValueError, KeyError) as e:
          raise TemplateNotFound(template) from e
      return loader, name
  
imports: import importlib.util
  import os
  import posixpath
  import sys
  import pkgutil
  import typing
  import weakref
  import zipimport
  from collections import abc
  from hashlib import sha1
  from importlib import import_module
  from types import ModuleType
  from .exceptions import TemplateNotFound
  from .utils import internalcode
  from .utils import open_if_exists
  import __res
label_desc: Use image node_id 2 for calling the PrefixLoader obj's underlying member method code with example usage: obj.get_loader(template) and returns: loader,  name