j
k
j a
j l
On 08/29/2013 08:18 AM, Vratislav Podzimek wrote:
# take the first locale (with highest rank) for the language if locales[0] not in yielded_locales: yielded_locales.add(locales[0]) yield locales[0]
# take the first locale (with highest rank) for the language
if locales[0] not in yielded_locales:
yielded_locales.add(locales[0]) yield locales[0]
Doesn't this need to yield every item in locales?
Back to the thread
Back to the list