https://github.com/python/cpython/commit/a4ad141c55326e5a45a5674adb5a034f5d03c120
commit: a4ad141c55326e5a45a5674adb5a034f5d03c120
branch: main
author: Rafael Fontenelle <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-09-29T16:49:44+01:00
summary:
Fix unnumbered list item's text alignment in 'Thread safety for set objects'
(#158261)
files:
M Doc/builtins/threadsafety.rst
diff --git a/Doc/builtins/threadsafety.rst b/Doc/builtins/threadsafety.rst
index a529f7803affbc2..32600a35ef6eeaa 100644
--- a/Doc/builtins/threadsafety.rst
+++ b/Doc/builtins/threadsafety.rst
@@ -408,9 +408,9 @@ as operands and always lock both objects:
iterate through all the passed iterables and do the following:
* :meth:`set.update` and :meth:`set.union` lock both objects only when
- the other operand is a :class:`set`, :class:`frozenset`, or
:class:`dict`.
+ the other operand is a :class:`set`, :class:`frozenset`, or :class:`dict`.
* :meth:`set.intersection` and :meth:`set.difference` always try to lock
- all objects.
+ all objects.
:meth:`set.symmetric_difference` tries to lock both objects.
@@ -418,9 +418,9 @@ The update variants of the above methods also have some
differences between
them:
* :meth:`set.difference_update` and :meth:`set.intersection_update` try
- to lock all objects one-by-one.
+ to lock all objects one-by-one.
* :meth:`set.symmetric_difference_update` only locks the arguments if it is
- of type :class:`set`, :class:`frozenset`, or :class:`dict`.
+ of type :class:`set`, :class:`frozenset`, or :class:`dict`.
The following methods always try to lock both objects:
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]