Fix first line of docstrings

- Use the imperative sense
- Use trailing dot
- Omit leading newline
- Grammar / vocabulary fixes
This commit is contained in:
Mads Marquart
2019-07-21 23:46:09 +02:00
parent 700cf14a50
commit 6b07f1d8b9
14 changed files with 226 additions and 335 deletions

View File

@@ -6,7 +6,7 @@ import attr
@attr.s(cmp=False)
class Poll(object):
"""Represents a poll"""
"""Represents a poll."""
#: Title of the poll
title = attr.ib()
@@ -29,7 +29,7 @@ class Poll(object):
@attr.s(cmp=False)
class PollOption(object):
"""Represents a poll option"""
"""Represents a poll option."""
#: Text of the poll option
text = attr.ib()