class SymbolSet():
    def __init__(self):
        self._address_labels = dict()
        self._label_addresses = dict()
        self._generic_id = 0

    def load(self, config_path):
        pass

    def add_label(self, address, label):
        if address in self._address_labels:
            raise TargetRelabelException("{:#04X} has already been given the "
                "label {}".format(address, self._address_labels[address]))
        if label in self._label_addresses:
            raise LabelReuseException('The label "{}" is already used '
                'at {:#04X}'.format(label, address))

        self._address_labels[address] = label
        self._label_addresses[label] = address

    def add_generic_label(self, address):
        label = "label{:04}".format(self._generic_id)
        self.add_label(address, label)
        self._generic_id += 1

    def get_label(self, address):
        return self._address_labels.get(address, None)

    def get_address(self, label):
        return self._label_addresses.get(label, None)


class TargetRelabelException(Exception):
    pass

class LabelReuseException(Exception):
    pass

class SymbolSet():
    def __init__(self):
        self._address_labels = dict()
        self._label_addresses = dict()
        self._generic_id = 0

    def add_label(self, address, label):
        if address in self._address_labels:
            raise TargetRelabelException("{:#04X} has already been given the "
                "label {}".format(address, self._address_labels[address]))
        if label in self._label_addresses:
            raise LabelReuseException('The label "{}" is already used '
                'at {:#04X}'.format(label, address))

        self._address_labels[address] = label
        self._label_addresses[label] = address

    def add_generic_label(self, address):
        label = "label{:04}".format(self._generic_id)
        self.add_label(address, label)
        self._generic_id += 1

    def get_label(self, address):
        return self._address_labels.get(address, None)

    def get_address(self, label):
        return self._label_addresses.get(label, None)


class TargetRelabelException(Exception):
    pass

class LabelReuseException(Exception):
    pass

Remove redundant load() method from SymbolSet.
Remove redundant load() method from SymbolSet.

  class SymbolSet():
      def __init__(self):
          self._address_labels = dict()
          self._label_addresses = dict()
          self._generic_id = 0
- 
-     def load(self, config_path):
-         pass
  
      def add_label(self, address, label):
          if address in self._address_labels:
              raise TargetRelabelException("{:#04X} has already been given the "
                  "label {}".format(address, self._address_labels[address]))
          if label in self._label_addresses:
              raise LabelReuseException('The label "{}" is already used '
                  'at {:#04X}'.format(label, address))
  
          self._address_labels[address] = label
          self._label_addresses[label] = address
  
      def add_generic_label(self, address):
          label = "label{:04}".format(self._generic_id)
          self.add_label(address, label)
          self._generic_id += 1
  
      def get_label(self, address):
          return self._address_labels.get(address, None)
  
      def get_address(self, label):
          return self._label_addresses.get(label, None)
  
  
  class TargetRelabelException(Exception):
      pass
  
  class LabelReuseException(Exception):
      pass
  
Remove redundant load() method from SymbolSet.
## Code Before:
class SymbolSet():
    def __init__(self):
        self._address_labels = dict()
        self._label_addresses = dict()
        self._generic_id = 0

    def load(self, config_path):
        pass

    def add_label(self, address, label):
        if address in self._address_labels:
            raise TargetRelabelException("{:#04X} has already been given the "
                "label {}".format(address, self._address_labels[address]))
        if label in self._label_addresses:
            raise LabelReuseException('The label "{}" is already used '
                'at {:#04X}'.format(label, address))

        self._address_labels[address] = label
        self._label_addresses[label] = address

    def add_generic_label(self, address):
        label = "label{:04}".format(self._generic_id)
        self.add_label(address, label)
        self._generic_id += 1

    def get_label(self, address):
        return self._address_labels.get(address, None)

    def get_address(self, label):
        return self._label_addresses.get(label, None)


class TargetRelabelException(Exception):
    pass

class LabelReuseException(Exception):
    pass

## Instruction:
Remove redundant load() method from SymbolSet.
## Code After:
class SymbolSet():
    def __init__(self):
        self._address_labels = dict()
        self._label_addresses = dict()
        self._generic_id = 0

    def add_label(self, address, label):
        if address in self._address_labels:
            raise TargetRelabelException("{:#04X} has already been given the "
                "label {}".format(address, self._address_labels[address]))
        if label in self._label_addresses:
            raise LabelReuseException('The label "{}" is already used '
                'at {:#04X}'.format(label, address))

        self._address_labels[address] = label
        self._label_addresses[label] = address

    def add_generic_label(self, address):
        label = "label{:04}".format(self._generic_id)
        self.add_label(address, label)
        self._generic_id += 1

    def get_label(self, address):
        return self._address_labels.get(address, None)

    def get_address(self, label):
        return self._label_addresses.get(label, None)


class TargetRelabelException(Exception):
    pass

class LabelReuseException(Exception):
    pass
