@@ -33,7 +33,7 @@ class tzutc(tzinfo):
3333UTC : tzutc
3434
3535class tzoffset (tzinfo ):
36- def __init__ (self , name : str , offset : float | timedelta ) -> None : ...
36+ def __init__ (self , name : str | None , offset : float | timedelta ) -> None : ...
3737 def utcoffset (self , dt : datetime | None ) -> timedelta | None : ...
3838 def dst (self , dt : datetime | None ) -> timedelta | None : ...
3939 def is_ambiguous (self , dt : datetime | None ) -> bool : ...
@@ -44,7 +44,7 @@ class tzoffset(tzinfo):
4444 def __ne__ (self , other : object ) -> bool : ...
4545 __reduce__ = object .__reduce__
4646 @classmethod
47- def instance (cls , name : str , offset : float | timedelta ) -> tzoffset : ...
47+ def instance (cls , name : str | None , offset : float | timedelta ) -> tzoffset : ...
4848
4949class tzlocal (_tzinfo ):
5050 def __init__ (self ) -> None : ...
@@ -108,7 +108,7 @@ class tzstr(tzrange):
108108 hasdst : bool
109109 def __init__ (self , s : str , posix_offset : bool = False ) -> None : ...
110110 @classmethod
111- def instance (cls , name : str , offset : float | timedelta ) -> tzoffset : ...
111+ def instance (cls , name : str | None , offset : float | timedelta ) -> tzoffset : ...
112112
113113@type_check_only
114114class _ICalReader (Protocol ):
0 commit comments