The pronouncing.rhymes() function returns a list of all possible rhymes for the given word—i.e., words that rhyme with any of the given word’s pronunciations.
It appears, however, that the pronouncing.rhymes() function in fact returns a list of a list of words that rhyme with only the first of the given word's pronunciations.
The docs state:
It appears, however, that the
pronouncing.rhymes()
function in fact returns a list of a list of words that rhyme with only the first of the given word's pronunciations.