mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-13 01:20:24 +02:00
fix for slicing blank lines
This commit is contained in:
@ -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:]:
|
||||
|
Reference in New Issue
Block a user