Skip to content

Commit bdfabc8

Browse files
committed
More docs updates
1 parent 53ddd91 commit bdfabc8

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1971,7 +1971,7 @@ New Features
19711971
* :c:func:`PyMonitoring_FireCallEvent`
19721972
* :c:func:`PyMonitoring_FireLineEvent`
19731973
* :c:func:`PyMonitoring_FireJumpEvent`
1974-
* :c:func:`PyMonitoring_FireBranchEvent`
1974+
* ``PyMonitoring_FireBranchEvent``
19751975
* :c:func:`PyMonitoring_FireCReturnEvent`
19761976
* :c:func:`PyMonitoring_FirePyThrowEvent`
19771977
* :c:func:`PyMonitoring_FireRaiseEvent`

Doc/whatsnew/3.14.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,11 @@ sys
599599
which only exists in specialized builds of Python, may now return objects
600600
from other interpreters than the one it's called in.
601601

602+
sys.monitoring
603+
--------------
604+
605+
Two new events are added: :monitoring-event:`BRANCH_LEFT` and
606+
:monitoring-event:`BRANCH_RIGHT`. The ``BRANCH`` event is deprecated.
602607

603608
tkinter
604609
-------
@@ -1034,6 +1039,11 @@ New features
10341039
* Add :c:func:`PyUnstable_Object_EnableDeferredRefcount` for enabling
10351040
deferred reference counting, as outlined in :pep:`703`.
10361041

1042+
* Add :c:func:`PyMonitoring_FireBranchLeftEvent` and
1043+
:c:func:`PyMonitoring_FireBranchRightEvent` for generating
1044+
:monitoring-event:`BRANCH_LEFT` and :monitoring-event:`BRANCH_RIGHT`
1045+
events, respectively.
1046+
10371047
Porting to Python 3.14
10381048
----------------------
10391049

@@ -1062,6 +1072,10 @@ Deprecated
10621072

10631073
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
10641074

1075+
* The ``PyMonitoring_FireBranchEvent`` function is deprecated and should
1076+
be replaced with calls to :c:func:`PyMonitoring_FireBranchLeftEvent`
1077+
and :c:func:`PyMonitoring_FireBranchRightEvent`.
1078+
10651079
Removed
10661080
-------
10671081

0 commit comments

Comments
 (0)