diff options
Diffstat (limited to 'Lib/zoneinfo/_common.py')
-rw-r--r-- | Lib/zoneinfo/_common.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/zoneinfo/_common.py b/Lib/zoneinfo/_common.py index 41c898f..4c24f01 100644 --- a/Lib/zoneinfo/_common.py +++ b/Lib/zoneinfo/_common.py @@ -136,8 +136,7 @@ class _TZifHeader: ] def __init__(self, *args): - assert len(self.__slots__) == len(args) - for attr, val in zip(self.__slots__, args): + for attr, val in zip(self.__slots__, args, strict=True): setattr(self, attr, val) @classmethod |