mirror of
https://github.com/matrix-org/synapse.git
synced 2025-01-13 03:36:46 +00:00
Update comment on merged
This commit is contained in:
parent
a0d1348309
commit
3318722753
@ -358,7 +358,8 @@ def merge_into(dest: Any, new: Any) -> None:
|
|||||||
|
|
||||||
def merged(a: Dict[str, Any], b: Dict[str, Any]) -> Dict[str, Any]:
|
def merged(a: Dict[str, Any], b: Dict[str, Any]) -> Dict[str, Any]:
|
||||||
"""
|
"""
|
||||||
Merges `b` into `a` and returns `a`.
|
Merges `b` into `a` and returns `a`. Here because we can't use `merge_into`
|
||||||
|
in a lamba conveniently.
|
||||||
"""
|
"""
|
||||||
merge_into(a, b)
|
merge_into(a, b)
|
||||||
return a
|
return a
|
||||||
|
Loading…
Reference in New Issue
Block a user