Simplify Generator[] annotation

This commit is contained in:
Jeff Epler 2025-04-21 07:51:40 +02:00
parent 4e0d7a9743
commit 66d4b32bf0

View file

@ -729,7 +729,7 @@ class WWVBMinuteIERS(WWVBMinute):
return round(get_dut1(d) * 10) * 100, isls(d)
def _bcd_bits(n: int) -> Generator[bool, None, None]:
def _bcd_bits(n: int) -> Generator[bool]:
"""Return the bcd representation of n, starting with the least significant bit"""
while True:
d = n % 10