Fix typos in datetime documentation.

This commit is contained in:
Berker Peksag 2016-06-04 21:36:53 -07:00
parent 003f60486a
commit 94f89a6e02
1 changed files with 2 additions and 2 deletions

View File

@ -1466,9 +1466,9 @@ Instance methods:
>>> from datetime import time
>>> time(hours=12, minute=34, second=56, microsecond=123456).isoformat(timespec='minutes')
>>> time(hour=12, minute=34, second=56, microsecond=123456).isoformat(timespec='minutes')
'12:34'
>>> dt = time(hours=12, minute=34, second=56, microsecond=0)
>>> dt = time(hour=12, minute=34, second=56, microsecond=0)
>>> dt.isoformat(timespec='microseconds')
'12:34:56.000000'
>>> dt.isoformat(timespec='auto')