<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def register_fetcher(self, name, fetcher):
 """Register a fetcher. :param name: Fetcher name. :param fetcher: The new fetcher. """

        assert name not in self.fetchers
        self.fetchers[name] = fetcher