]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Differentiate bitwise OR from the word "or" (#132890)
authorBrett Cannon <brett@python.org>
Thu, 24 Apr 2025 22:05:02 +0000 (15:05 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Apr 2025 22:05:02 +0000 (23:05 +0100)
Doc/library/sys.monitoring.rst

index 918dba9e02810ca93ca42d8f6318630cb09eb2e7..0674074b8c0df6859ba5c76cab3a5040417c0021 100644 (file)
@@ -160,7 +160,7 @@ More events may be added in the future.
 
 These events are attributes of the :mod:`!sys.monitoring.events` namespace.
 Each event is represented as a power-of-2 integer constant.
-To define a set of events, simply bitwise or the individual events together.
+To define a set of events, simply bitwise OR the individual events together.
 For example, to specify both :monitoring-event:`PY_RETURN` and :monitoring-event:`PY_START`
 events, use the expression ``PY_RETURN | PY_START``.