mirror of
https://github.com/beetbox/beets.git
synced 2025-12-20 07:34:28 +01:00
Keep docstring line <= 79 characters
This commit is contained in:
parent
04e2975ee9
commit
c10eb8f69d
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue