| 16 | |
| 17 | |
| 18 | class ZoneInfo(_ZoneInfo): |
| 19 | @property |
| 20 | def zone(self) -> str: |
| 21 | # Compatible with pytz: |
| 22 | # >>> ZoneInfo('UTC').key == pytz.timezone('UTC').zone == 'UTC' |
| 23 | return self.key |
| 24 | |
| 25 | |
| 26 | def parse_timezone(zone: str) -> tzinfo: |
no outgoing calls
searching dependent graphs…