Skip to content

Commit 540b462

Browse files
committed
removed necessary regex expression
1 parent b722c23 commit 540b462

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/textwrap.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,6 @@ def shorten(text, width, **kwargs):
413413

414414
# -- Loosely related functionality -------------------------------------
415415

416-
_whitespace_only_re = re.compile('^[ \t]+$', re.MULTILINE)
417-
_leading_whitespace_re = re.compile('(^[ \t]*)(?:[^ \t\n])', re.MULTILINE)
418-
419416
def dedent(text, only_whitespace = True):
420417
"""Remove any common leading whitespace from every line in `text`.
421418

0 commit comments

Comments
 (0)