]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Differentiate bitwise OR from the word "or" (GH-132890) (#132891)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 24 Apr 2025 22:11:18 +0000 (00:11 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Apr 2025 22:11:18 +0000 (22:11 +0000)
Differentiate bitwise OR from the word "or" (GH-132890)
(cherry picked from commit 15ff60aff0ca28b23c89cb1c0fc8f1f8997ed035)

Co-authored-by: Brett Cannon <brett@python.org>
Doc/library/sys.monitoring.rst

index d297bd86d1b7d63b1166534102518d0621f7eb37..d43b4742569d7134f3573a86caf499ca82ed7994 100644 (file)
@@ -154,7 +154,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``.