mirror of
https://github.com/python/cpython.git
synced 2025-09-17 14:16:02 +00:00
#10420: fix docs of bdb.effective().
This commit is contained in:
parent
9aed6cca89
commit
f51a6c7d74
1 changed files with 4 additions and 6 deletions
|
@ -359,12 +359,10 @@ Finally, the module defines the following functions:
|
|||
.. function:: effective(file, line, frame)
|
||||
|
||||
Determine if there is an effective (active) breakpoint at this line of code.
|
||||
Return breakpoint number or 0 if none.
|
||||
|
||||
Called only if we know there is a breakpoint at this location. Returns the
|
||||
breakpoint that was triggered and a flag that indicates if it is ok to delete
|
||||
a temporary breakpoint.
|
||||
Return a tuple of the breakpoint and a boolean that indicates if it is ok
|
||||
to delete a temporary breakpoint. Return ``(None, None)`` if there is no
|
||||
matching breakpoint.
|
||||
|
||||
.. function:: set_trace()
|
||||
|
||||
Starts debugging with a :class:`Bdb` instance from caller's frame.
|
||||
Start debugging with a :class:`Bdb` instance from caller's frame.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue