From 766849b978efd35c483348f8b1a788f6200cb215 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Thu, 6 Dec 2012 16:32:37 +0200 Subject: [PATCH] Document that hour in datetime.time ctor is optional parameter. Thanks to Sean Munkel from docs@ --- Doc/library/datetime.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 50b488b7cda..b6a2070cfd1 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -1154,7 +1154,7 @@ Using datetime with tzinfo: A time object represents a (local) time of day, independent of any particular day, and subject to adjustment via a :class:`tzinfo` object. -.. class:: time(hour[, minute[, second[, microsecond[, tzinfo]]]]) +.. class:: time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) All arguments are optional. *tzinfo* may be ``None``, or an instance of a :class:`tzinfo` subclass. The remaining arguments may be ints or longs, in the