commit | 841b930a41be90c6c05fb4bab8392f50e01d86b7 | [log] [tgz] |
---|---|---|
author | Berker Peksag <berker.peksag@gmail.com> | Sat Mar 05 14:05:45 2016 +0200 |
committer | Berker Peksag <berker.peksag@gmail.com> | Sat Mar 05 14:05:45 2016 +0200 |
tree | 6c681440f0e9b7728d1c56c602e0503f15ed26ab | |
parent | d79d5b1a50347b06397e160440e6bb9dd5a8ed43 [diff] |
Issue #17940: Remove redundant code from _Section.format_help() Output of func(*args) stored in the next line: item_help = join([func(*args) for func, args in self.items]) _Section.items only used by HelpFormatter._add_item() and it looks like it doesn't have any side effects. Patch by Yogesh Chaudhari.