Generate fontweight enum values without an extraneous variable from a comprehension...
Generate fontweight enum values without an extraneous variable from a comprehension
In python 2, the comprehension will create a new class attribute, i. Using a map will not create the extra local variable.