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

@@ -8,7 +8,7 @@ from ._thread import ThreadType, Thread
@attr.s(cmp=False, init=False)
class Group(Thread):
"""Represents a Facebook group. Inherits `Thread`"""
"""Represents a Facebook group. Inherits `Thread`."""
#: Unique list (set) of the group thread's participant user IDs
participants = attr.ib(factory=set, converter=lambda x: set() if x is None else x)
@@ -107,7 +107,7 @@ class Group(Thread):
@attr.s(cmp=False, init=False)
class Room(Group):
"""Deprecated. Use :class:`Group` instead"""
"""Deprecated. Use `Group` instead."""
# True is room is not discoverable
privacy_mode = attr.ib(None)