mirror of
https://github.com/python/cpython.git
synced 2024-11-27 20:04:41 +08:00
Remove errant fourth '.' from ellipsis in datetime documentation.
This commit is contained in:
parent
b1b915c796
commit
e76c0393a8
@ -1406,7 +1406,7 @@ Instance methods:
|
||||
|
||||
Return a string representing the time, controlled by an explicit format
|
||||
string. For a complete list of formatting directives, see
|
||||
:ref:`strftime-strptime-behavior`.
|
||||
:ref:`strftime-strptime-behavior`.
|
||||
|
||||
|
||||
.. method:: time.__format__(format)
|
||||
@ -1826,7 +1826,7 @@ format codes.
|
||||
| | zero-padded decimal number. | | |
|
||||
+-----------+--------------------------------+------------------------+-------+
|
||||
| ``%Y`` | Year with century as a decimal | 0001, 0002, ..., 2013, | \(2) |
|
||||
| | number. | 2014, ...., 9998, 9999 | |
|
||||
| | number. | 2014, ..., 9998, 9999 | |
|
||||
+-----------+--------------------------------+------------------------+-------+
|
||||
| ``%H`` | Hour (24-hour clock) as a | 00, 01, ..., 23 | |
|
||||
| | zero-padded decimal number. | | |
|
||||
|
Loading…
Reference in New Issue
Block a user