Skip to content

Commit ecc9cfc

Browse files
committed
Add full stops
1 parent 796fb3e commit ecc9cfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/textwrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,13 +429,13 @@ def dedent(text):
429429
if not text:
430430
return text
431431

432-
# If the input is entirely whitespace, return normalized lines
432+
# If the input is entirely whitespace, return normalized lines.
433433
if text.isspace():
434434
return '\n' * text.count('\n')
435435

436436
lines = text.split('\n')
437437

438-
# Get length of leading whitespace, inspired by ``os.path.commonprefix()``
438+
# Get length of leading whitespace, inspired by ``os.path.commonprefix()``.
439439
non_blank_lines = [l for l in lines if l and not l.isspace()]
440440
l1 = min(non_blank_lines)
441441
l2 = max(non_blank_lines)

0 commit comments

Comments
 (0)