Skip to content

Commit c0c74b2

Browse files
committed
Document the behaviour change in plistlib docs
1 parent 526bbb5 commit c0c74b2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/library/plistlib.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ This module defines the following functions:
8181
.. versionchanged:: 3.13
8282
The keyword-only parameter *aware_datetime* has been added.
8383

84+
.. versionchanged:: next
85+
``<date>`` values that omit smaller units (for example ``2024-06Z``)
86+
are now accepted, with the omitted components defaulting to the start
87+
of the period. Previously such values raised :exc:`TypeError`.
88+
8489

8590
.. function:: loads(data, *, fmt=None, dict_type=dict, aware_datetime=False)
8691

0 commit comments

Comments
 (0)