@@ -269,8 +269,8 @@ the same rule. [2]_ The constructors :func:`int`, :func:`float`, and
269269:func: `complex ` can be used to produce numbers of a specific type.
270270
271271All numeric types (except complex) support the following operations, sorted by
272- ascending priority (operations in the same box have the same priority; all
273- numeric operations have a higher priority than comparison operations):
272+ ascending priority (all numeric operations have a higher priority than
273+ comparison operations):
274274
275275+---------------------+---------------------------------+---------+--------------------+
276276| Operation | Result | Notes | Full documentation |
@@ -404,8 +404,7 @@ The priorities of the binary bitwise operations are all lower than the numeric
404404operations and higher than the comparisons; the unary operation ``~ `` has the
405405same priority as the other unary numeric operations (``+ `` and ``- ``).
406406
407- This table lists the bitwise operations sorted in ascending priority
408- (operations in the same box have the same priority):
407+ This table lists the bitwise operations sorted in ascending priority:
409408
410409+------------+--------------------------------+----------+
411410| Operation | Result | Notes |
@@ -444,7 +443,7 @@ Additional Methods on Integer Types
444443-----------------------------------
445444
446445The int type implements the :class: `numbers.Integral ` :term: `abstract base
447- class `. In addition, it provides one more method :
446+ class `. In addition, it provides a few more methods :
448447
449448.. method :: int.bit_length()
450449
@@ -820,10 +819,10 @@ both mutable and immutable. The :class:`collections.abc.Sequence` ABC is
820819provided to make it easier to correctly implement these operations on
821820custom sequence types.
822821
823- This table lists the sequence operations sorted in ascending priority
824- (operations in the same box have the same priority). In the table , *s * and *t *
825- are sequences of the same type, * n *, * i *, * j * and * k * are integers and * x * is
826- an arbitrary object that meets any type and value restrictions imposed by *s *.
822+ This table lists the sequence operations sorted in ascending priority. In the
823+ table, * s * and * t * are sequences of the same type, * n *, * i * , *j * and *k * are
824+ integers and * x * is an arbitrary object that meets any type and value
825+ restrictions imposed by *s *.
827826
828827The ``in `` and ``not in `` operations have the same priorities as the
829828comparison operations. The ``+ `` (concatenation) and ``* `` (repetition)
@@ -4006,8 +4005,8 @@ before the statement body is executed and exited when the statement ends:
40064005 The exception passed in should never be reraised explicitly - instead, this
40074006 method should return a false value to indicate that the method completed
40084007 successfully and does not want to suppress the raised exception. This allows
4009- context management code (such as `` contextlib.nested ``) to easily detect whether
4010- or not an :meth: ` __exit__ ` method has actually failed.
4008+ context management code to easily detect whether or not an :meth: ` __exit__ `
4009+ method has actually failed.
40114010
40124011Python defines several context managers to support easy thread synchronisation,
40134012prompt closure of files or other objects, and simpler manipulation of the active
0 commit comments