Skip to content

Commit aa0d7d2

Browse files
gaogaotiantianSonicField
authored andcommitted
pythongh-118359: Improve docs for Bdb.user_call (python#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.
1 parent 8b320da commit aa0d7d2

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)