https://github.com/python/cpython/commit/8e7486f41d2a4641698ba1a34a1c3eee756a4443
commit: 8e7486f41d2a4641698ba1a34a1c3eee756a4443
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: AlexWaygood <[email protected]>
date: 2024-04-29T21:07:56Z
summary:

[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 8e4fb5d260e529c9d4ca60980225fbd00dd5c3c8)

Co-authored-by: Tian Gao <[email protected]>

files:
M Doc/library/bdb.rst

diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst
index 7bf4308a96d0f5..b050560cd9038c 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to