]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-106392: Fix inconsistency in deprecation warnings (GH-106436) (#108792)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 2 Sep 2023 21:44:28 +0000 (14:44 -0700)
committerGitHub <noreply@github.com>
Sat, 2 Sep 2023 21:44:28 +0000 (23:44 +0200)
commitb862c25922764eb7bb3cd93dc91fd15c8e92d4f2
tree70b0bc39f893879598d7f5a0210386e4fe0b7cd8
parent70a378c88871b1cfac56cfdecde31a4adaac929a
[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 d5c5d4bfd3260219397326795d3b2ff62a9ab8cb)

Co-authored-by: William Andrea <william.j.andrea@gmail.com>
Lib/_pydatetime.py