aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaneli Hukkinen <hukkinj1@users.noreply.github.com>2020-05-09 13:17:08 +0200
committerYury Selivanov <yury@edgedb.com>2020-05-13 11:40:09 -0700
commit51b1871ad20da16b257ec782f73c607d5fcf5f85 (patch)
tree9d882532e66349e64b0d9f9f0fa17770b57cb148
parent34a5fcf87e7fc762216095ac75e4d030aaca8587 (diff)
downloadimmutables-51b1871ad20da16b257ec782f73c607d5fcf5f85.tar.gz
immutables-51b1871ad20da16b257ec782f73c607d5fcf5f85.zip
Make MapMutation.update consistently return an implicit None
-rw-r--r--immutables/map.py3
1 files changed, 1 insertions, 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