selwin / python-user-agents

A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.
MIT License
1.44k stars 197 forks source link

Switched dictionary to tuple #79

Closed marcinm2h closed 7 years ago

marcinm2h commented 7 years ago

For consistent style and python 2.6 support (https://stackoverflow.com/questions/19454970/is-there-a-python-dict-without-values).

selwin commented 7 years ago

If you look closely, EMAIL_PROGRAM_FAMILIES is actually not a dictionary but a set.