From: Tian Gao Date: Mon, 29 Apr 2024 20:57:49 +0000 (-0700) Subject: gh-118359: Improve docs for Bdb.user_call (#118368) X-Git-Tag: v3.13.0b1~218 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e4fb5d260e529c9d4ca60980225fbd00dd5c3c8;p=thirdparty%2FPython%2Fcpython.git gh-118359: Improve docs for Bdb.user_call (#118368) The `argument_list` parameter of bdb.Bdb.user_call has been useless for 25 years. It is retained for backwards compatibility, but it will always be None. --- diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst index 7bf4308a96d0..b050560cd903 100644 --- a/Doc/library/bdb.rst +++ b/Doc/library/bdb.rst @@ -240,6 +240,9 @@ The :mod:`bdb` module also defines two classes: Called from :meth:`dispatch_call` if a break might stop inside the called function. + *argument_list* is not used anymore and will always be ``None``. + The argument is kept for backwards compatibility. + .. method:: user_line(frame) Called from :meth:`dispatch_line` when either :meth:`stop_here` or