Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit a9709f0

Browse files
committed
Fix up docstring
1 parent 74812f9 commit a9709f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/databases/main/events_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ async def get_event(
374374
If there is a mismatch, behave as per allow_none.
375375
376376
Returns:
377-
The event, or None if the event was not found.
377+
The event, or None if the event was not found and allow_none is `True`.
378378
"""
379379
if not isinstance(event_id, str):
380380
raise TypeError("Invalid event event_id %r" % (event_id,))

0 commit comments

Comments
 (0)