diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-06 14:32:37 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-06 14:32:37 (GMT) |
commit | 766849b978efd35c483348f8b1a788f6200cb215 (patch) | |
tree | ce5e3231034dec540cf6508ef0e083f95481bbf2 /Doc/library/datetime.rst | |
parent | 7ddd9c21da9ffb47a9b669f584d4666deca23d1c (diff) | |
download | cpython-766849b978efd35c483348f8b1a788f6200cb215.zip cpython-766849b978efd35c483348f8b1a788f6200cb215.tar.gz cpython-766849b978efd35c483348f8b1a788f6200cb215.tar.bz2 |
Document that hour in datetime.time ctor is optional parameter.
Thanks to Sean Munkel from docs@
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r-- | Doc/library/datetime.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 50b488b..b6a2070 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 |