]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-118359: Improve docs for Bdb.user_call (#118368)
authorTian Gao <gaogaotiantian@hotmail.com>
Mon, 29 Apr 2024 20:57:49 +0000 (13:57 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2024 20:57:49 +0000 (21:57 +0100)
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.

Doc/library/bdb.rst

index 7bf4308a96d0f55d837320d2c1898586a8004f45..b050560cd9038cb496148e9022a861bd4debad5e 100644 (file)
@@ -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