Skip to content

Commit 51b1871

Browse files
hukkinj11st1
authored andcommitted
Make MapMutation.update consistently return an implicit None
1 parent 34a5fcf commit 51b1871

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

immutables/map.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,7 @@ def update(self, col=None, **kw):
740740
it = iter(kw.items())
741741

742742
if it is None:
743-
744-
return self
743+
return
745744

746745
root = self.__root
747746
count = self.__count

0 commit comments

Comments
 (0)