Skip to content

Commit 7e22a43

Browse files
Merge branch 'main' into patch-1
2 parents 811ef74 + eafd14f commit 7e22a43

File tree

13 files changed

+245
-113
lines changed

13 files changed

+245
-113
lines changed

Doc/library/datetime.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,10 @@ Other constructors, all class methods:
948948

949949
This function is preferred over :meth:`today` and :meth:`utcnow`.
950950

951+
.. note::
952+
953+
Subsequent calls to :meth:`!datetime.now` may return the same
954+
instant depending on the precision of the underlying clock.
951955

952956
.. classmethod:: datetime.utcnow()
953957

0 commit comments

Comments
 (0)