Skip to content

Commit 962ed29

Browse files
committed
pep 585
1 parent e17f480 commit 962ed29

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

kg.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import argparse
22
import re
33
from random import randint
4-
from typing import List
54

65
from cryptography.hazmat.backends import default_backend
76
from cryptography.hazmat.primitives.asymmetric import dsa
@@ -40,7 +39,7 @@ def fix_group_checksum(group_number: int, n: int) -> int:
4039
return n & 0xfff0 | checksum
4140

4241

43-
def overall_checksum(groups: List[int]) -> int:
42+
def overall_checksum(groups: list[int]) -> int:
4443
r = 0
4544
for i in range(20):
4645
g, digit = divmod(i, 4)

0 commit comments

Comments
 (0)