@@ -79,7 +79,7 @@ Dictionary objects
7979 .. note ::
8080
8181 The operation is atomic on :term: `free threading <free-threaded build> `
82- when *key * is :class: `str `, :class: `int ` or :class: `float `.
82+ when *key * is :class: `str `, :class: `int `, :class: ` float `, :class: ` bool ` or :class: `bytes `.
8383
8484 .. versionchanged :: 3.15
8585 Also accept :class: `frozendict `.
@@ -113,7 +113,7 @@ Dictionary objects
113113 .. note ::
114114
115115 The operation is atomic on :term: `free threading <free-threaded build> `
116- when *key * is :class: `str `, :class: `int ` or :class: `float `.
116+ when *key * is :class: `str `, :class: `int `, :class: ` float `, :class: ` bool ` or :class: `bytes `.
117117
118118
119119.. c :function :: int PyDict_SetItemString (PyObject *p, const char *key, PyObject *val)
@@ -133,7 +133,7 @@ Dictionary objects
133133 .. note ::
134134
135135 The operation is atomic on :term: `free threading <free-threaded build> `
136- when *key * is :class: `str `, :class: `int ` or :class: `float `.
136+ when *key * is :class: `str `, :class: `int `, :class: ` float `, :class: ` bool ` or :class: `bytes `.
137137
138138
139139.. c :function :: int PyDict_DelItemString (PyObject *p, const char *key)
@@ -158,7 +158,7 @@ Dictionary objects
158158 .. note ::
159159
160160 The operation is atomic on :term: `free threading <free-threaded build> `
161- when *key * is :class: `str `, :class: `int ` or :class: `float `.
161+ when *key * is :class: `str `, :class: `int `, :class: ` float `, :class: ` bool ` or :class: `bytes `.
162162
163163 .. versionadded :: 3.13
164164
@@ -292,7 +292,7 @@ Dictionary objects
292292 .. note::
293293
294294 The operation is atomic on :term:`free threading <free-threaded build>`
295- when *key* is :class:`str`, :class:`int` or :class:`float `.
295+ when *key* is :class:`str`, :class:`int`, :class:`float`, :class:`bool` or :class:`bytes `.
296296
297297 .. versionadded:: 3.13
298298
@@ -314,7 +314,7 @@ Dictionary objects
314314 .. note ::
315315
316316 The operation is atomic on :term: `free threading <free-threaded build> `
317- when *key * is :class: `str `, :class: `int ` or :class: `float `.
317+ when *key * is :class: `str `, :class: `int `, :class: ` float `, :class: ` bool ` or :class: `bytes `.
318318
319319 .. versionadded :: 3.13
320320
0 commit comments