Keep docstring line <= 79 characters

This commit is contained in:
discopatrick
2017-04-27 00:05:06 +01:00
parent 04e2975ee9
commit c10eb8f69d
+2 -2
View File
@@ -544,8 +544,8 @@ class Period(object):
def __init__(self, date, precision):
"""Create a period with the given date (a `datetime` object) and
precision (a string, one of "year", "month", "day", "hour", "minute", or
"second").
precision (a string, one of "year", "month", "day", "hour", "minute",
or "second").
"""
if precision not in Period.precisions:
raise ValueError(u'Invalid precision {0}'.format(precision))