https://github.com/python/cpython/commit/99539719242d23e1fdc1ec17ea969b0ec56560ff commit: 99539719242d23e1fdc1ec17ea969b0ec56560ff branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com> date: 2025-04-24T22:11:18Z summary:
[3.13] Differentiate bitwise OR from the word "or" (GH-132890) (#132891) Differentiate bitwise OR from the word "or" (GH-132890) (cherry picked from commit 15ff60aff0ca28b23c89cb1c0fc8f1f8997ed035) Co-authored-by: Brett Cannon <br...@python.org> files: M Doc/library/sys.monitoring.rst diff --git a/Doc/library/sys.monitoring.rst b/Doc/library/sys.monitoring.rst index d297bd86d1b7d6..d43b4742569d71 100644 --- a/Doc/library/sys.monitoring.rst +++ b/Doc/library/sys.monitoring.rst @@ -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``. _______________________________________________ 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