khard/carddav_object.py
def get_nicknames(self):
        """
        :rtype: list(list(str))
        """
        nicknames = []
        for child in self.vcard.getChildren():
            if child.name == "NICKNAME":
                nicknames.append(child.value)
        return sorted(nicknames)
def get_nicknames(self):
        """
        :rtype: list(list(str))
        """
        nicknames = []
        for child in self.vcard.getChildren():
            if child.name == "NICKNAME":
                nicknames.append(child.value)
        return sorted(nicknames)
def get_nicknames ( self ) : nicknames = [ ] for child in self . vcard . getChildren ( ) : if child . name == "NICKNAME" : nicknames . append ( child . value ) return sorted ( nicknames )
:rtype: list(list(str))
: rtype : list ( list ( str ))