https://github.com/python/cpython/commit/15ff60aff0ca28b23c89cb1c0fc8f1f8997ed035 commit: 15ff60aff0ca28b23c89cb1c0fc8f1f8997ed035 branch: main author: Brett Cannon <br...@python.org> committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com> date: 2025-04-24T23:05:02+01:00 summary:
Differentiate bitwise OR from the word "or" (#132890) files: M Doc/library/sys.monitoring.rst diff --git a/Doc/library/sys.monitoring.rst b/Doc/library/sys.monitoring.rst index 918dba9e02810c..0674074b8c0df6 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``. _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com