(self)
return self._choices
Available choices for characters to be generated.
Available choices for characters to be generated.
Available choices for characters to be generated .
def choices(self):
        """Available choices for characters to be generated."""
        if self._choices:
            return self._choices
        for n in os.listdir(self._voicedir):
            if len(n) == 1 and os.path.isdir(os.path.join(self._voicedir, n)):
                self._choices.append(n)
        return self._choices
def choices ( self ) : if self . _choices : return self . _choices for n in os . listdir ( self . _voicedir ) : if len ( n ) == 1 and os . path . isdir ( os . path . join ( self . _voicedir , n ) ) : self . _choices . append ( n ) return self . _choices