8000 Annotate strip_leading_and_trailing_blank_lines() · python/cpython@37082d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37082d4

Browse files
Annotate strip_leading_and_trailing_blank_lines()
1 parent eeb5c63 commit 37082d4

File tree

1 file 8000 changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/clinic/clinic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def permute_optional_groups(left, required, right):
575575
return tuple(accumulator)
576576

577577

578-
def strip_leading_and_trailing_blank_lines(s):
578+
def strip_leading_and_trailing_blank_lines(s: str) -> str:
579579
lines = s.rstrip().split('\n')
580580
while lines:
581581
line = lines[0]

0 commit comments

Comments
 (0)
0