diff options
author | Andrew Morgan <andrewm@element.io> | 2022-10-18 09:23:50 +0100 |
---|---|---|
committer | Andrew Morgan <andrewm@element.io> | 2022-10-18 09:23:50 +0100 |
commit | a9709f07825af59fb379f3d8bffa47f81cc909f4 (patch) | |
tree | 2bb23b0c2615d5d15b0324ac1ca392d014e3075a | |
parent | Add missing 'continue' (diff) | |
download | synapse-a9709f07825af59fb379f3d8bffa47f81cc909f4.tar.xz |
Fix up docstring
-rw-r--r-- | synapse/storage/databases/main/events_worker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/events_worker.py b/synapse/storage/databases/main/events_worker.py index 7cdc9fe98f..221864d9cc 100644 --- a/synapse/storage/databases/main/events_worker.py +++ b/synapse/storage/databases/main/events_worker.py @@ -374,7 +374,7 @@ class EventsWorkerStore(SQLBaseStore): If there is a mismatch, behave as per allow_none. Returns: - The event, or None if the event was not found. + The event, or None if the event was not found and allow_none is `True`. """ if not isinstance(event_id, str): raise TypeError("Invalid event event_id %r" % (event_id,)) |