Skip to content

Commit 7490792

Browse files
Adjust Location documentation
1 parent 4ef4b69 commit 7490792

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pvlib/location.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ class Location:
4444
Use decimal degrees notation.
4545
4646
tz : time zone as str, int, float, or datetime.tzinfo (inc. subclasses
47-
from the pytz and zoneinfo packages), default 'UTC'.
47+
from 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-
ints and floats must be whole-number hour offsets from UTC, which
52-
are converted to the IANA-suppored 'Etc/GMT-N' format (note the
53-
limited range of the offset N and its sign-change convention).
51+
`int`s and `float`s must be whole-number hour offsets from UTC, which
52+
are converted to the IANA-suppored 'Etc/GMT-N' format. (Note the
53+
limited range of the offset N and its sign-change convention.)
5454
5555
altitude : float, optional
5656
Altitude from sea level in meters.
@@ -68,7 +68,7 @@ class Location:
6868
6969
zoneinfo.ZoneInfoNotFoundError
7070
when the time zone ``tz`` is not recognizable as an IANA time zone by
71-
the zoneinfo.ZoneInfo initializer used for internal time-zone
71+
the `zoneinfo.ZoneInfo` initializer used for internal time-zone
7272
representation.
7373
7474
See also

0 commit comments

Comments
 (0)