@@ -78,9 +78,8 @@ Dictionary objects
7878
7979 .. note ::
8080
81- The operation is atomic in the :term: `free-threaded build `, if *key *
82- is a builtin type (e.g. :class: `str `, :class: `int `, :class: `float `) or any
83- other object which does not define :meth:`~object.__hash__` and :meth:`~object.__eq__` methods.
81+ The operation is atomic on :term: `free threading <free-threaded build> `
82+ when *key * is :class: `str `, :class: `int ` or :class: `float `.
8483
8584 .. versionchanged :: next
8685 Also accept :class: `frozendict `.
@@ -113,9 +112,8 @@ Dictionary objects
113112
114113 .. note ::
115114
116- The operation is atomic in the :term: `free-threaded build `, if *key *
117- is a builtin type (e.g. :class: `str `, :class: `int `, :class: `float `) or any
118- other object which does not define :meth:`~object.__hash__` and :meth:`~object.__eq__` methods.
115+ The operation is atomic on :term: `free threading <free-threaded build> `
116+ when *key * is :class: `str `, :class: `int ` or :class: `float `.
119117
120118
121119.. c :function :: int PyDict_SetItemString (PyObject *p, const char *key, PyObject *val)
@@ -134,9 +132,8 @@ Dictionary objects
134132
135133 .. note ::
136134
137- The operation is atomic in the :term: `free-threaded build `, if *key *
138- is a builtin type (e.g. :class: `str `, :class: `int `, :class: `float `) or any
139- other object which does not define :meth:`~object.__hash__` and :meth:`~object.__eq__` methods.
135+ The operation is atomic on :term: `free threading <free-threaded build> `
136+ when *key * is :class: `str `, :class: `int ` or :class: `float `.
140137
141138
142139.. c :function :: int PyDict_DelItemString (PyObject *p, const char *key)
@@ -160,9 +157,8 @@ Dictionary objects
160157
161158 .. note ::
162159
163- The operation is atomic in the :term: `free-threaded build `, if *key *
164- is a builtin type (e.g. :class: `str `, :class: `int `, :class: `float `) or any
165- other object which does not define :meth:`~object.__hash__` and :meth:`~object.__eq__` methods.
160+ The operation is atomic on :term: `free threading <free-threaded build> `
161+ when *key * is :class: `str `, :class: `int ` or :class: `float `.
166162
167163 .. versionadded :: 3.13
168164
@@ -295,9 +291,8 @@ Dictionary objects
295291
296292 .. note::
297293
298- The operation is atomic in the :term:`free-threaded build`, if *key*
299- is a builtin type (e.g. :class: `str `, :class: `int `, :class: `float `) or any
300- other object which does not define :meth:`~object.__hash__` and :meth:`~object.__eq__` methods.
294+ The operation is atomic on :term:`free threading <free-threaded build>`
295+ when *key* is :class:`str`, :class:`int` or :class:`float`.
301296
302297 .. versionadded:: 3.13
303298
@@ -318,9 +313,8 @@ Dictionary objects
318313
319314 .. note ::
320315
321- The operation is atomic in the :term: `free-threaded build `, if *key *
322- is a builtin type (e.g. :class: `str `, :class: `int `, :class: `float `) or any
323- other object which does not define :meth:`~object.__hash__` and :meth:`~object.__eq__` methods.
316+ The operation is atomic on :term: `free threading <free-threaded build> `
317+ when *key * is :class: `str `, :class: `int ` or :class: `float `.
324318
325319 .. versionadded :: 3.13
326320
0 commit comments