Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update the blurb entry and add an entry in the Doc/whatsnew/3.8.rst
  • Loading branch information
matrixise committed Mar 22, 2019
commit b0061722a06fa82176ef77224bfbdf46ad35c6b1
9 changes: 9 additions & 0 deletions Doc/whatsnew/3.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,15 @@ Added :func:`~gettext.pgettext` and its variants.
(Contributed by Franz Glasner, Éric Araujo, and Cheryl Sabella in :issue:`2504`.)


datetime
--------

Added :func:`~datetime.date.strptime` and :func:`~datetime.time.strptime`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expect you lose the reference to date and time, so all you are saying is you added two functions with the same name repeated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vadmium yep, here, we just add the class methods datetime.date.strptime and datetime.time.strptime

(Patch by Alexander Belopolsky, Amaury Forgeot d'Arc, Berker Peksag, Josh-sf,
Juraez Bochi, Maciej Szulik, Matheus Vieira Portela. Contributed by Stéphane
Wirtel)


gc
--

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Add datetime.date.strptime and datetime.time.strptime class methods.
Add :func:`datetime.date.strptime` and :func:`datetime.time.strptime` class methods.