(self, scheme)
return self._load_handler(scheme)
Lazy-load the downloadhandler for a scheme
        only on the first request for that scheme.
Lazy-load the downloadhandler for a scheme
        only on the first request for that scheme.
Lazy - load the downloadhandler for a scheme only on the first request for that scheme .
def _get_handler(self, scheme):
        """Lazy-load the downloadhandler for a scheme
        only on the first request for that scheme.
        """
        if scheme in self._handlers:
            return self._handlers[scheme]
        if scheme in self._notconfigured:
            return None
        if scheme not in self._schemes:
            self._notconfigured[scheme] = 'no handler available for that scheme'
            return None

        return self._load_handler(scheme)
def _get_handler ( self , scheme ) : if scheme in self . _handlers : return self . _handlers [ scheme ] if scheme in self . _notconfigured : return None if scheme not in self . _schemes : self . _notconfigured [ scheme ] = 'no handler available for that scheme' return None return self . _load_handler ( scheme )