Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1class ZoneinfoError(Exception): 

2 

3 pass 

4 

5 

6class InvalidZoneinfoFile(ZoneinfoError): 

7 

8 pass 

9 

10 

11class InvalidTimezone(ZoneinfoError): 

12 def __init__(self, name): 

13 super(InvalidTimezone, self).__init__('Invalid timezone "{}"'.format(name)) 

14 

15 

16class InvalidPosixSpec(ZoneinfoError): 

17 def __init__(self, spec): 

18 super(InvalidPosixSpec, self).__init__("Invalid POSIX spec: {}".format(spec))