Skip to content

Commit e03e051

Browse files
Succinct news entry
1 parent 4dc17e2 commit e03e051

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
:meth:`~datetime.datetime.fromisoformat` and :meth:`~datetime.time.fromisoformat`
2-
now reject a decimal separator (``.`` or ``,``) that is not followed by any
3-
fractional digit before a timezone designator, such as ``'12:34:56.+05:00'``.
4-
The C implementation previously accepted such strings while the pure-Python
5-
implementation correctly raised :exc:`ValueError`.
1+
The C implementations of :meth:`~datetime.datetime.fromisoformat` and :meth:`~datetime.time.fromisoformat`
2+
now reject a decimal separator that is not followed by any
3+
fractional digit before a timezone designator.

0 commit comments

Comments
 (0)