def unregister(self, collector):
with self._lock:<EOL><INDENT>for name in self._collector_to_names[collector]:<EOL><INDENT>del self._names_to_collectors[name]<EOL><DEDENT>del self._collector_to_names[collector]<EOL><DEDENT>
Remove a collector from the registry.