Skip to content

Commit a99d745

Browse files
committed
refine warning
1 parent 4d9f843 commit a99d745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/shelve.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ The following additional methods are supported:
100100

101101
.. warning::
102102

103-
When calling :meth:`sync`, *writeback* attribute is temporarily set to
104-
:const:`False` and other threads will stop updating the cache. As such,
103+
When calling :meth:`sync`, the *writeback* attribute is temporarily set
104+
to :const:`False` and other threads will stop updating the cache. Thus,
105105
this method, and any method calling it, is **not** thread-safe.
106106

107107
.. method:: Shelf.reorganize()

0 commit comments

Comments
 (0)