diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-05 04:36:53 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-05 04:36:53 (GMT) |
commit | 94f89a6e02e4fa0417b50032ec69d70759ab27a4 (patch) | |
tree | 4bbbef2ee9882093f153a494f35dba4a87d6fc0f | |
parent | 003f60486aa1a02bbf41eb807d4917d6ac57e2cc (diff) | |
download | cpython-94f89a6e02e4fa0417b50032ec69d70759ab27a4.zip cpython-94f89a6e02e4fa0417b50032ec69d70759ab27a4.tar.gz cpython-94f89a6e02e4fa0417b50032ec69d70759ab27a4.tar.bz2 |
Fix typos in datetime documentation.
-rw-r--r-- | Doc/library/datetime.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index b125588..4b6b467 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -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') |