File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5558,7 +5558,7 @@ can be used interchangeably to index the same dictionary entry.
55585558 considerations as above apply.
55595559
55605560 The following operations return new objects and hold the per-object lock
5561- for the duration:
5561+ for the duration of the operation :
55625562
55635563 .. code-block ::
55645564 :class: good
@@ -5605,9 +5605,9 @@ can be used interchangeably to index the same dictionary entry.
56055605 .. code-block ::
56065606 :class: maybe
56075607
5608- d.update(iterable) # iterable is not a dict
5609- d |= iterable # iterable is not a dict
5610- dict.fromkeys(iterable) # iterable is not a dict/set/frozenset
5608+ d.update(iterable) # iterable is not a dict: only d locked
5609+ d |= iterable # iterable is not a dict: only d locked
5610+ dict.fromkeys(iterable) # iterable is not a dict/set/frozenset: only result locked
56115611
56125612 Operations that involve multiple accesses, as well as iteration, are never
56135613 atomic:
You can’t perform that action at this time.
0 commit comments