code: def extend(self, namespace = None, name = None, **kwargs):
          '''
          Create a new enumerate with current values merged with new enumerate values
          :param namespace: same as __init__
          :param name: same as __init__
          :param kwargs: same as __init__
          :returns: a new enumerate type
          '''
          if name is None:
              name = self._readablename
          d = dict(self._values)
          d.update(kwargs)
          return enum(name, namespace, self, self._bitwise, **df extend(self, namespace = None, name = None, **kwargs):
          '''
          Create a new enumerate with current values merged with new enumerate values
          :param namespace: same as __init__
          :param name: same as __init__
          :param kwargs: same as __init__
          :returns: a new enumerate type
          '''
          if name is None:
              name = self._readablename
          d = dict(self._values)
          d.update(kwargs)
          return enum(name, namespace, self, self._bitwise, **d)
docs: Create a new enumerate with current values merged with new enumerate values
          :param namespace: same as __init__
          :param name: same as __init__
          :param kwargs: same as __init__
          :returns: a new enumerate type