summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
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: