Created
July 15, 2016 20:34
-
-
Save mikemccracken/84cbb2f50d7e1230b0e08ef36101729d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.step_pile = Pile([ | |
Padding.center_90(HR()), | |
Padding.line_break(""), | |
Padding.center_90(Pile(self.steps)), | |
Padding.line_break(""), | |
Padding.center_20(self.buttons()) | |
]) | |
#becomes | |
self.step_pile = Pile([ | |
Padding.center_90(HR()), | |
Padding.line_break("")] + | |
[Padding.center_90(s) for s in self.steps] + | |
[Padding.line_break(""), | |
Padding.center_20(self.buttons()) | |
]) |
Author
mikemccracken
commented
Jul 15, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment