Simplify Generator[] annotation
This commit is contained in:
parent
4e0d7a9743
commit
66d4b32bf0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue