From 51b1871ad20da16b257ec782f73c607d5fcf5f85 Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen Date: Sat, 9 May 2020 13:17:08 +0200 Subject: Make MapMutation.update consistently return an implicit None --- immutables/map.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/immutables/map.py b/immutables/map.py index 3ea4656..a8cffd4 100644 --- a/immutables/map.py +++ b/immutables/map.py @@ -740,8 +740,7 @@ class MapMutation: it = iter(kw.items()) if it is None: - - return self + return root = self.__root count = self.__count -- cgit v1.2.3