diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-26 04:57:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-26 04:57:21 +0400 |
commit | 0a48cf08dae9e9252816f5abb2673685d4ab712b (patch) | |
tree | 676bade8d9ae50e8e1d19bcb5282aeb5b7b24489 /release/scripts/modules/bpy | |
parent | 679046743fd861c7406ed294cfa3a1d4f4873693 (diff) |
Correct docstrings
Diffstat (limited to 'release/scripts/modules/bpy')
-rw-r--r-- | release/scripts/modules/bpy/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy/utils.py b/release/scripts/modules/bpy/utils.py index 0867a4a7b6a..b3a7a13e331 100644 --- a/release/scripts/modules/bpy/utils.py +++ b/release/scripts/modules/bpy/utils.py @@ -429,7 +429,7 @@ def time_from_frame(frame, fps=None, fps_base=None): :arg frame: number. :type frame: the frame number :return: the time in seconds. - :rtype: timedate.timedelta + :rtype: datetime.timedelta """ if fps is None: @@ -446,12 +446,12 @@ def time_from_frame(frame, fps=None, fps_base=None): def time_to_frame(time, fps=None, fps_base=None): """ Returns a float frame number from a time given in seconds or - as a timedate.timedelta object. + as a datetime.timedelta object. If *fps* and *fps_base* are not given the current scene is used. :arg time: time in seconds. - :type time: number or a timedate.timedelta object + :type time: number or a datetime.timedelta object :return: the frame. :rtype: float """ |