-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
This is an issue with how bdb.Bdb.user_call
is documented.
According to the bdb
documentation, bdb.BdB.user_call
has two arguments, frame
and argument_list
.
This is implemented in the bdb
library here.
However, according to the sys
documentation, sys.settrace
will always set the arg
to None
and the code above acknowledges that "# XXX 'arg' is no longer used".
I don't know if this is based on a previous version that would give the call arguments, but I think we should change the signature of bdb.Bdb.user_call
to exclude the argument_list
parameter or state in the documentation that it will be None
.
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error