1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00

fix for slicing blank lines

This commit is contained in:
Kelly Brazil
2024-01-16 14:21:33 -08:00
parent 2cd58d75e7
commit f863cfdef4
+2
View File
@@ -402,6 +402,8 @@ def _lazy_splitlines(text: str) -> Iterable[str]:
begin, end = m.span()
if begin != start:
yield text[start:begin]
else:
yield ''
start = end
if text[start:]: