mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-25 16:24:03 +08:00
5081f684c0
The argument is_dst of the functions StaticTzInfo.localize and StaticTzInfo.normalize are ignored, and only present for compatibility with DstTzInfo. The functions in DstTzInfo also accepts None, so for compatibility, StaticTzInfo should accept them as well. [^1] https://github.com/stub42/pytz/blob/2ed682a7c4079042f50975970fc4f503c8450058/src/pytz/tzinfo.py#L112