Skip to content

Commit

Permalink
Merge pull request #7397 from jasongrout/comprehension
Browse files Browse the repository at this point in the history
Generate fontweight enum values without an extraneous variable from a comprehension
  • Loading branch information
ellisonbg committed Jan 10, 2015
2 parents c952917 + fc0e8d1 commit 7e2d432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/html/widgets/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ class DOMWidget(Widget):
'bolder',
'lighter',
'initial',
'inherit', ''] + [str(100 * (i+1)) for i in range(9)],
'inherit', ''] + list(map(str, range(100,1000,100))),
default_value='', sync=True)
font_size = CUnicode(sync=True)
font_family = Unicode(sync=True)
Expand Down

0 comments on commit 7e2d432

Please sign in to comment.