Commit graph

3 commits

Author SHA1 Message Date
Miss Islington (bot)
b862c25922
[3.12] gh-106392: Fix inconsistency in deprecation warnings (GH-106436) (#108792)
gh-106392: Fix inconsistency in deprecation warnings (GH-106436)

They used "datetime" to refer to both the object and the module.
(cherry picked from commit d5c5d4bfd3)

Co-authored-by: William Andrea <william.j.andrea@gmail.com>
2023-09-02 23:44:28 +02:00
Paul Ganssle
0a5cd984b2 GH-84976: Re-introduce datetime.py and fix reprs
Without the change to the reprs, pure-python classes would have a repr
of `datetime._pydatetime.time`, etc.
2023-05-03 03:09:45 -06:00
Paul Ganssle
65c4a2b326 GH-84976: Move Lib/datetime.py to Lib/_pydatetime
This breaks the tests, but we are keeping it as a separate commit so
that the move operation and editing of the moved files are separate, for
a cleaner history.
2023-05-03 03:09:45 -06:00
Renamed from Lib/datetime.py (Browse further)