Skip to content

Commit 35dda5d

Browse files
authored
Trim trailing empty line from README.md (#111)
1 parent 778ec5e commit 35dda5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/insert-example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def sub_match(match):
2020
return read_text(file_name)
2121

2222
text = REPLACE_RE.sub(sub_match, content)
23-
print(text)
23+
print(text, end="")
2424

2525

2626
def parse_args() -> typing.Dict[str, typing.Any]:

0 commit comments

Comments
 (0)