From e979cf38ee17ed04b387b5394dde57afc92a613b Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Sun, 28 Apr 2024 12:07:53 -0700 Subject: [PATCH 1/2] Add notes for Bdb.user_call --- Doc/library/bdb.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst index 7bf4308a96d0f5..3ecb083036ff35 100644 --- a/Doc/library/bdb.rst +++ b/Doc/library/bdb.rst @@ -240,6 +240,11 @@ The :mod:`bdb` module also defines two classes: Called from :meth:`dispatch_call` if a break might stop inside the called function. + .. note:: + + *argument_list* is not used anymore and will always be :data:`None`. + The argument is kept for backwards compatibility. + .. method:: user_line(frame) Called from :meth:`dispatch_line` when either :meth:`stop_here` or From c9f96fd371487aff61bb588f0678139ccc914176 Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Mon, 29 Apr 2024 11:07:57 -0700 Subject: [PATCH 2/2] Remove note and change None --- Doc/library/bdb.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst index 3ecb083036ff35..b050560cd9038c 100644 --- a/Doc/library/bdb.rst +++ b/Doc/library/bdb.rst @@ -240,10 +240,8 @@ The :mod:`bdb` module also defines two classes: Called from :meth:`dispatch_call` if a break might stop inside the called function. - .. note:: - - *argument_list* is not used anymore and will always be :data:`None`. - The argument is kept for backwards compatibility. + *argument_list* is not used anymore and will always be ``None``. + The argument is kept for backwards compatibility. .. method:: user_line(frame)