diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-08 01:49:35 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-08 01:49:35 (GMT) |
commit | 46988d365946f2b61812b6ff60cb557e036fa6b1 (patch) | |
tree | 098caa6c1c32d409086693146136028d29d4805a /Doc/library/datetime.rst | |
parent | a0fcaca4e1c29078f578fb96971398c70cf38900 (diff) | |
parent | d5db14794bdeb4646ede5881aed43dd1838ffe7a (diff) | |
download | cpython-46988d365946f2b61812b6ff60cb557e036fa6b1.zip cpython-46988d365946f2b61812b6ff60cb557e036fa6b1.tar.gz cpython-46988d365946f2b61812b6ff60cb557e036fa6b1.tar.bz2 |
Merge string formatting doc fixes from 3.5
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r-- | Doc/library/datetime.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index cf5d5b8..1f3edd2 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -604,7 +604,7 @@ Instance methods: .. method:: date.__format__(format) - Same as :meth:`.date.strftime`. This makes it possible to specify format + Same as :meth:`.date.strftime`. This makes it possible to specify a format string for a :class:`.date` object when using :meth:`str.format`. For a complete list of formatting directives, see :ref:`strftime-strptime-behavior`. @@ -1179,7 +1179,7 @@ Instance methods: .. method:: datetime.__format__(format) - Same as :meth:`.datetime.strftime`. This makes it possible to specify format + Same as :meth:`.datetime.strftime`. This makes it possible to specify a format string for a :class:`.datetime` object when using :meth:`str.format`. For a complete list of formatting directives, see :ref:`strftime-strptime-behavior`. @@ -1424,7 +1424,7 @@ Instance methods: .. method:: time.__format__(format) - Same as :meth:`.time.strftime`. This makes it possible to specify format string + Same as :meth:`.time.strftime`. This makes it possible to specify a format string for a :class:`.time` object when using :meth:`str.format`. For a complete list of formatting directives, see :ref:`strftime-strptime-behavior`. |