misc: use yield from (#87441)
gitea/chrono/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2024-02-25 19:16:27 +01:00
parent 095057839a
commit 7df4de695d
1 changed files with 1 additions and 2 deletions

View File

@ -203,8 +203,7 @@ class IntervalSet:
break
if not c2:
yield c1
for c1 in l1:
yield c1
yield from l1
break
if c1[1] <= c2[0]:
yield c1