def __init__(self, apps):
        try:
            apps = list(apps.items())
        except __HOLE__:
            pass

        # Sort the apps by len(path), descending
        apps.sort()
        apps.reverse()

        # The path_prefix strings must start, but not end, with a slash.
        # Use "" instead of "/".
        self.apps = [(p.rstrip("/"), a) for p, a in apps]
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/libs/cherrypy/wsgiserver/wsgiserver3.py/WSGIPathInfoDispatcher.__init__