Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docstring #13

Merged
merged 1 commit into from
Mar 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions datetimerange/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,8 @@ def range(self, step):

:param datetime.timedelta/dateutil.relativedelta.relativedelta step:
Step of iteration.
:return: iterator
:rtype: iterator

:Examples:

Expand All @@ -563,7 +565,6 @@ def range(self, step):
for value in time_range.range(datetime.timedelta(days=1)):
print value


.. parsed-literal::

2015-01-01 00:00:00+09:00
Expand Down Expand Up @@ -728,7 +729,7 @@ def __convert_datetime(self, value):

def is_datetime(value):
"""
:return: ``True``` if type of `value` is datetime.datetime.
:return: ``True`` if type of `value` is datetime.datetime.
:rtype: bool
"""

Expand Down