Add previous name.

        Args:
            :param name: previous name for the current author.
            :type name: string
196752
def add_previous_name(self, name):
        
        self._ensure_field('name', {})
        self.obj['name'].setdefault('previous_names', []).append(name)
882531
def setName(self, name):
        
        self._name = name
        
        tree = self.treeWidget()
        if tree:
            col = tree.column('Name')
            if col != -1:
                self.setData(col, Qt.EditRole, wrapVariant(name))
696991
def _add_name_mapping(self, name: str, translated_name: str, name_type: Type = None):
        
        self.local_name_mapping[name] = translated_name
        self.reverse_name_mapping[translated_name] = name
        if name_type:
            self.local_type_signatures[translated_name] = name_type
195733
def newReference(self, name):
        
        ret = libxml2mod.xmlNewReference(self._o, name)
        if ret is None:raise treeError('xmlNewReference() failed')
        __tmp = xmlNode(_obj=ret)
        return __tmp
461404
def make_unique_name(name, existing_names, name_format="{name}_{index}", start=2):
    """"""
    index = start
    new_name = name
    while new_name in existing_names:
        new_name = name_format.format(name=name, index=index)
        index += 1

    return new_name
163621
def name(self, name):
        
        weight, width, custom_name = self._splitName(name)
        self.set_all_name_components(name, weight, width, custom_name)
91810
def update_name(self, name):
        """"""
        if name != self.name:
            self.parent.types[name] = self
            del self.parent.types[self.name]
            self.name = name
574285
def set_author(self, **kwargs):
        
        self.author = {
            'name': kwargs.get('name'),
            'url': kwargs.get('url'),
            'icon_url': kwargs.get('icon_url'),
            'proxy_icon_url': kwargs.get('proxy_icon_url'),
        }
260197
def format_author_name(author)
      if author.last.present? && author.first.present?
        str = "#{author.last}, #{author.first}"
        if author.middle.present?
          middle = author.middle
          middle += "." if middle.length == 1
          str += " #{middle}"
        end
        return str
      elsif author.display.present?
        return author.display
      elsif author.last.present?
        return author.last?
      else
        return nil
      end        
    end
819234
def set_name(self, new_name):
        

        yield from self._hypervisor.send('nio_bridge rename "{name}" "{new_name}"'.format(name=self._name,
                                                                                          new_name=new_name))

        self._name = new_name
591536
def rename(self, new_name):
        """"""
        old_name = self.name
        self.name = new_name
        pypath = self.relative_pythonpath  # ??
        self.root_path = self.root_path[:-len(old_name)]+new_name
        self.relative_pythonpath = pypath  # ??
        self.save()
622586
def name(self, name):
        
        self._data['name'] = name
        request = self._base_request
        request['name'] = name
        return self._tc_requests.update(request, owner=self.owner)
617897
def header_add(self, name, value):
        
        self._set('add-header', '%s: %s' % (name, value), multi=True)

        return self._section
195854
def rename(self, name):
        
        return self.client.api.rename(self.id, name)
302249
def add_author_year(string) # :yields: Array of Taxonifi::Model::Person
      auth_yr = Taxonifi::Splitter::Builder.build_author_year(string)
      @year = auth_yr.year
      @authors = auth_yr.people
    end
3313
def name(self, name: str):
        

        self.pathName = os.path.join(self.path, name)
240411
def new_name(self, template=u"xxx_todo_changeme"):
        
        name = template
        while name in self.used_names:
            name = template + unicode(self.numbers.next())
        self.used_names.add(name)
        return name