use strict zip

This commit is contained in:
Jan Petykiewicz 2024-07-28 20:06:09 -07:00
commit 38e9d5c250
6 changed files with 13 additions and 13 deletions

View file

@ -29,7 +29,7 @@ def annotations_lt(aa: annotations_t, bb: annotations_t) -> bool:
if len(va) != len(vb):
return len(va) < len(vb)
for aaa, bbb in zip(va, vb):
for aaa, bbb in zip(va, vb, strict=True):
if aaa != bbb:
return annotation2key(aaa) < annotation2key(bbb)
return False
@ -55,7 +55,7 @@ def annotations_eq(aa: annotations_t, bb: annotations_t) -> bool:
if len(va) != len(vb):
return False
for aaa, bbb in zip(va, vb):
for aaa, bbb in zip(va, vb, strict=True):
if aaa != bbb:
return False