Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-118359: Improve docs for Bdb.user_call (python#118368)
Browse files Browse the repository at this point in the history
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.
gaogaotiantian authored and SonicField committed May 8, 2024
1 parent e150c8a commit 25c1d61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Doc/library/bdb.rst
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 25c1d61

Please sign in to comment.