summaryrefslogtreecommitdiffstats
path: root/Lib/_pydatetime.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] gh-106392: Fix inconsistency in deprecation warnings (GH-106436) ↵Miss Islington (bot)2023-09-021-2/+2
| | | | | | | | | | (#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 d5c5d4bfd3260219397326795d3b2ff62a9ab8cb) Co-authored-by: William Andrea <william.j.andrea@gmail.com>
* GH-84976: Re-introduce `datetime.py` and fix reprsPaul Ganssle2023-05-031-29/+13
| | | | | Without the change to the reprs, pure-python classes would have a repr of `datetime._pydatetime.time`, etc.
* GH-84976: Move Lib/datetime.py to Lib/_pydatetimePaul Ganssle2023-05-031-0/+2663
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.