Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/python/cpython into rlock
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 authored Oct 8, 2024
2 parents 34e9ba0 + eafd14f commit d04cb66
Show file tree
Hide file tree
Showing 13 changed files with 245 additions and 113 deletions.
4 changes: 4 additions & 0 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,10 @@ Other constructors, all class methods:

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

.. note::

Subsequent calls to :meth:`!datetime.now` may return the same
instant depending on the precision of the underlying clock.

.. classmethod:: datetime.utcnow()

Expand Down
Loading

0 comments on commit d04cb66

Please sign in to comment.