def _finder_template(
    name: str, mapping: Mapping[str, str], namespaces: Dict[str, List[str]]
) -> str:
    """Create a string containing the code for the``MetaPathFinder`` and
    ``PathEntryFinder``.
    """
    mapping = dict(sorted(mapping.items(), key=lambda p: p[0]))
    return _FINDER_TEMPLATE.format(name=name, mapping=mapping, namespaces=namespaces)
Create a string containing the code for the``MetaPathFinder`` and
    ``PathEntryFinder``.
    
product/gradle-plugin/src/main/python/setuptools/command/editable_wheel.py