Skip to content

Commit ad76df5

Browse files
Franklin, SamuelFranklin, Samuel
authored andcommitted
bpo-37910: checks format_usage wrapping to ensure whitespaces do not break argparse usage help text. Fixed whitespace issue.
1 parent 30c69ff commit ad76df5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
argparse.py now allows metavar to be certain whitespace characters, such as
2+
'' and '\t'. This fixes a bug where wrapping usage across multiple lines
3+
would raise an assertion error.

0 commit comments

Comments
 (0)