aboutsummaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-11-20 13:41:40 -0500
committerYury Selivanov <yury@magic.io>2018-11-20 14:25:07 -0500
commite1de4d45d365f64950eef7587eb688d1a3caff0f (patch)
tree8aeb3022fed87c524c3c61f05970dadf2e83e871 /README.rst
parentd14e5e91fbd88bae54c69b759ee8d76e6569f2c3 (diff)
downloadimmutables-e1de4d45d365f64950eef7587eb688d1a3caff0f.tar.gz
immutables-e1de4d45d365f64950eef7587eb688d1a3caff0f.zip
Rename .finalize() to .finish()
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 4f3d789..203f529 100644
--- a/README.rst
+++ b/README.rst
@@ -82,7 +82,7 @@ Maps also implement APIs for bulk updates: ``MapMutation`` objects::
del map_mutation['b']
map_mutation.set('y', 'y')
- map2 = map_mutation.finalize()
+ map2 = map_mutation.finish()
print(map, map2)
# will print:
@@ -96,7 +96,7 @@ rewritten in a more idiomatic way::
mm['a'] = 100
del mm['b']
mm.set('y', 'y')
- map2 = mm.finalize()
+ map2 = mm.finish()
print(map, map2)
# will print: