Skip to content

Commit bd7f6eb

Browse files
committed
format docstring
1 parent b2ee818 commit bd7f6eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

adafruit_datetime.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1522,11 +1522,11 @@ def toordinal(self) -> int:
15221522
def timestamp(self) -> float:
15231523
"""Return POSIX timestamp as float.
15241524
1525-
Note that Floats on most
1526-
boards are encoded in 30 bits internally, with effectively 22
1527-
bits of precision. As a result, for modern dates this value
1528-
can be off by several minutes. As a workaround you can access
1529-
the function ``_mitime()`` to get an int version of the timestamp.
1525+
Note that Floats on most boards are encoded in 30 bits
1526+
internally, with effectively 22 bits of precision. As a result,
1527+
for modern dates this value can be off by several minutes.
1528+
As a workaround you can access the function ``_mitime()``
1529+
to get an int version of the timestamp.
15301530
"""
15311531
if not self._tzinfo is None:
15321532
return (self - _EPOCH).total_seconds()

0 commit comments

Comments
 (0)