Skip to content

Commit 212c763

Browse files
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 71d7c8a commit 212c763

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ datetime
504504
* Add :meth:`datetime.time.strptime` and :meth:`datetime.date.strptime`.
505505
(Contributed by Wannes Boeykens in :gh:`41431`.)
506506

507-
* The :meth:`datetime.date.strptime`, :meth:`datetime.datetime.strptime` and
508-
:meth:`datetime.time.strptime` methods now only accept ASCII digits and
509-
raise a :exc:`ValueError` if non-ASCII digits are specified.
507+
* When using digits in :meth:`datetime.date.strptime`, :meth:`datetime.datetime.strptime`,
508+
or :meth:`datetime.time.strptime`, a :exc:`ValueError` is raised if non-ASCII digits are
509+
specified.
510510
(Contributed by Stan Ulbrych in :gh:`131008`.)
511511

512512

@@ -888,8 +888,8 @@ sys.monitoring
888888
time
889889
----
890890

891-
* The :meth:`time.strptime`, now only accept ASCII digits and raise a
892-
:exc:`ValueError` if non-ASCII digits are specified.
891+
* When using digits in :func:`time.strptime`, a :exc:`ValueError` is raised
892+
if non-ASCII digits are specified.
893893
(Contributed by Stan Ulbrych in :gh:`131008`.)
894894

895895

0 commit comments

Comments
 (0)