Update docstrings

This commit is contained in:
miruka
2020-03-12 14:41:00 -04:00
parent 04790b3ed3
commit 77d877047b
9 changed files with 79 additions and 48 deletions

View File

@@ -357,7 +357,7 @@ class MatrixClient(nio.AsyncClient):
async def _send_file(
self, item_uuid: UUID, room_id: str, path: Union[Path, str],
) -> None:
"""Monitorably upload a file + thumbnail and send the built event."""
"""Upload and monitor a file + thumbnail and send the built event."""
# TODO: this function is way too complex, and most of it should be
# refactored into nio.
@@ -993,7 +993,7 @@ class MatrixClient(nio.AsyncClient):
async def clear_events(self, room_id: str) -> None:
"""Remove every `Event` of a room we registred in our model.
"""Remove every `Event` of a room we registered in our model.
The events will be gone from the UI, until the client is restarted.
"""