diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index bcc953090376..4bfd9a30b42e 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -276,6 +276,8 @@ Instance methods: Return the total number of seconds contained in the duration. Equivalent to ``td.microseconds / 1000000 + td.seconds + td.days * 24 * 3600``. + .. versionadded:: 2.7 + Example usage: