diff -r d1aa8a9eba44 Lib/argparse.py --- a/Lib/argparse.py Wed May 01 14:13:05 2013 +0300 +++ b/Lib/argparse.py Sat May 11 06:23:31 2013 -0400 @@ -205,8 +205,6 @@ if self.parent is not None: self.formatter._indent() join = self.formatter._join_parts - for func, args in self.items: - func(*args) item_help = join([func(*args) for func, args in self.items]) if self.parent is not None: self.formatter._dedent() diff -r d1aa8a9eba44 Misc/ACKS --- a/Misc/ACKS Wed May 01 14:13:05 2013 +0300 +++ b/Misc/ACKS Sat May 11 06:23:31 2013 -0400 @@ -169,6 +169,7 @@ Mitch Chapman Greg Chapman Brad Chapman +Yogesh Chaudhari David Chaum Nicolas Chauvat Michael Chermside diff -r d1aa8a9eba44 Misc/NEWS --- a/Misc/NEWS Wed May 01 14:13:05 2013 +0300 +++ b/Misc/NEWS Sat May 11 06:23:31 2013 -0400 @@ -31,6 +31,8 @@ Library ------- +- Issue #17940 Remove extra code in argparse.py + - Issue #17192: Restore the patch for Issue #10309 which was ommitted in 2.7.4 when updating the bundled version of libffi used by ctypes.