From e5d15cc67776c8dd15cd30302b79297f5582457a Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 18 Nov 2021 18:42:36 +0000 Subject: Fix typo --- synapse/storage/databases/main/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') diff --git a/synapse/storage/databases/main/cache.py b/synapse/storage/databases/main/cache.py index 7189d945c3..066365a8b5 100644 --- a/synapse/storage/databases/main/cache.py +++ b/synapse/storage/databases/main/cache.py @@ -121,7 +121,7 @@ class CacheInvalidationWorkerStore( txn.execute(sql, (last_id, instance_name, limit)) updates: List[Tuple[int, _CacheData]] = [] row: Tuple[int, str, Optional[List[str]], Optional[int]] - # Type saftey: iterating over `txn` yields `Tuple`, i.e. + # Type safety: iterating over `txn` yields `Tuple`, i.e. # `Tuple[Any, ...]` of arbitrary length. Mypy detects assigning a # variadic tuple to a fixed length tuple and flags it up as an error. for row in txn: # type: ignore[assignment] -- cgit 1.5.1