We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221ba98 commit 57098dbCopy full SHA for 57098db
Doc/library/datetime.rst
@@ -2734,7 +2734,7 @@ Notes:
2734
When used with :meth:`~.datetime.strftime`, behaves exactly as ``%z``,
2735
except that a colon separator is added between hours, minutes and seconds.
2736
2737
- When used with :meth:`~.datetime.stpftime`, the UTC offset is *required*
+ When used with :meth:`~.datetime.strptime`, the UTC offset is *required*
2738
to have a colon as a separator between hours, minutes and seconds.
2739
For example, ``'+01:00:00'`` (but *not* ``'+010000'``) will be parsed as
2740
an offset of one hour. In addition, providing ``'Z'`` is identical to
0 commit comments