Skip to content

Commit c149570

Browse files
Make it meaner
1 parent c5d3780 commit c149570

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/datetime.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2600,11 +2600,11 @@ with the year and week number directives above. Calling :meth:`~.datetime.strpti
26002600
incomplete or ambiguous ISO 8601 directives will raise a :exc:`ValueError`.
26012601

26022602
.. Note::
2603-
Provided input may be split unexpectedly to cope with the provided directives
2604-
in the format string, this aligns with the behaviour of the C implementation.::
2603+
Input will be split to cope with the provided directives in the format string,
2604+
this aligns with the behaviour of the C implementation.::
26052605

2606-
>>> datetime.strptime('20110817T12','%Y%m%dT%H%M')
2607-
datetime.datetime(2011, 8, 17, 1, 2)
2606+
>>> datetime.strptime('20250310T12','%Y%m%dT%H%M')
2607+
datetime.datetime(2025, 3, 10, 1, 2)
26082608

26092609

26102610
The full set of format codes supported varies across platforms, because Python

0 commit comments

Comments
 (0)