File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
888888time
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
You can’t perform that action at this time.
0 commit comments