@@ -43,12 +43,12 @@ class Location:
4343 Positive is east of the prime meridian.
4444 Use decimal degrees notation.
4545
46- tz : time zone as str, int, float, or datetime.tzinfo (inc. subclasses
47- from the pytz and zoneinfo packages), default 'UTC'.
46+ tz : time zone as str, int, float, or datetime.tzinfo (including
47+ subclassesfrom the pytz and zoneinfo packages), default 'UTC'.
4848 This value is stored as a valid IANA time zone name string. See
4949 http://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a
5050 list of valid name strings, any of which may be passed directly here.
51- `int`s and `float`s must be whole-number hour offsets from UTC, which
51+ ints and floats must be whole-number hour offsets from UTC, which
5252 are converted to the IANA-suppored 'Etc/GMT-N' format. (Note the
5353 limited range of the offset N and its sign-change convention.)
5454
@@ -98,6 +98,7 @@ def __repr__(self):
9898
9999 @property
100100 def tz (self ):
101+ """The location's IANA time-zone string."""
101102 return str (self ._zoneinfo )
102103
103104 @tz .setter
@@ -127,6 +128,7 @@ def tz(self, tz_):
127128
128129 @property
129130 def pytz (self ):
131+ """The location's pytz time zone."""
130132 return pytz .timezone (str (self ._zoneinfo ))
131133
132134 @classmethod
0 commit comments