diff options
author | Yury Selivanov <yury@magic.io> | 2018-11-20 13:41:40 -0500 |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2018-11-20 14:25:07 -0500 |
commit | e1de4d45d365f64950eef7587eb688d1a3caff0f (patch) | |
tree | 8aeb3022fed87c524c3c61f05970dadf2e83e871 /README.rst | |
parent | d14e5e91fbd88bae54c69b759ee8d76e6569f2c3 (diff) | |
download | immutables-e1de4d45d365f64950eef7587eb688d1a3caff0f.tar.gz immutables-e1de4d45d365f64950eef7587eb688d1a3caff0f.zip |
Rename .finalize() to .finish()
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |