adjspecies/__init__.py
def get_describers():
    """
    Return a describer tuple in the form `(name, position)`,
    where position is either 'prefix' or 'suffix'.
    """
    adjectives = map(lambda x: (x, 'prefix'), get_file_lines('adjectives.txt'))
    animal_nouns = map(lambda x: (x, 'suffix'), get_file_lines('nouns.txt'))
    return list(chain(adjectives, animal_nouns))
def get_describers():
    """
    Return a describer tuple in the form `(name, position)`,
    where position is either 'prefix' or 'suffix'.
    """
    adjectives = map(lambda x: (x, 'prefix'), get_file_lines('adjectives.txt'))
    animal_nouns = map(lambda x: (x, 'suffix'), get_file_lines('nouns.txt'))
    return list(chain(adjectives, animal_nouns))
def get_describers ( ) : adjectives = map ( lambda x : ( x , 'prefix' ) , get_file_lines ( 'adjectives.txt' ) ) animal_nouns = map ( lambda x : ( x , 'suffix' ) , get_file_lines ( 'nouns.txt' ) ) return list ( chain ( adjectives , animal_nouns ) )
Return a describer tuple in the form `(name, position)`,
    where position is either 'prefix' or 'suffix'.
Return a describer tuple in the form ( name position ) where position is either prefix or suffix .