Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e9e7a6

Browse files
committed
don't wrap lines too late by default
closes SF bug #842213
1 parent 6d98f19 commit 4e9e7a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/optparse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ class IndentedHelpFormatter (HelpFormatter):
247247
def __init__ (self,
248248
indent_increment=2,
249249
max_help_position=24,
250-
width=80,
250+
width=79,
251251
short_first=1):
252252
HelpFormatter.__init__(
253253
self, indent_increment, max_help_position, width, short_first)
@@ -266,7 +266,7 @@ class TitledHelpFormatter (HelpFormatter):
266266
def __init__ (self,
267267
indent_increment=0,
268268
max_help_position=24,
269-
width=80,
269+
width=79,
270270
short_first=0):
271271
HelpFormatter.__init__ (
272272
self, indent_increment, max_help_position, width, short_first)

0 commit comments

Comments
 (0)