From: Brett Cannon Date: Thu, 24 Apr 2025 22:05:02 +0000 (-0700) Subject: Differentiate bitwise OR from the word "or" (#132890) X-Git-Tag: v3.14.0b1~316 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15ff60aff0ca28b23c89cb1c0fc8f1f8997ed035;p=thirdparty%2FPython%2Fcpython.git Differentiate bitwise OR from the word "or" (#132890) --- diff --git a/Doc/library/sys.monitoring.rst b/Doc/library/sys.monitoring.rst index 918dba9e0281..0674074b8c0d 100644 --- a/Doc/library/sys.monitoring.rst +++ b/Doc/library/sys.monitoring.rst @@ -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``.