Skip to content

Commit 8e7486f

Browse files
[3.12] gh-118359: Improve docs for Bdb.user_call (GH-118368) (#118410)
gh-118359: Improve docs for Bdb.user_call (GH-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. (cherry picked from commit 8e4fb5d) Co-authored-by: Tian Gao <[email protected]>
1 parent e990594 commit 8e7486f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/bdb.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ The :mod:`bdb` module also defines two classes:
240240
Called from :meth:`dispatch_call` if a break might stop inside the
241241
called function.
242242

243+
*argument_list* is not used anymore and will always be ``None``.
244+
The argument is kept for backwards compatibility.
245+
243246
.. method:: user_line(frame)
244247

245248
Called from :meth:`dispatch_line` when either :meth:`stop_here` or

0 commit comments

Comments
 (0)