summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-11-26 12:05:48 (GMT)
committerGeorg Brandl <georg@python.org>2010-11-26 12:05:48 (GMT)
commitf51a6c7d74fc9a0f933f7d2bd746ce7fd2b82a4c (patch)
tree288d7931722a6bfef165c39f2502333649b5c1d2 /Doc
parent9aed6cca89eb7d9af95a64feafb5bf31aeee16d0 (diff)
downloadcpython-f51a6c7d74fc9a0f933f7d2bd746ce7fd2b82a4c.zip
cpython-f51a6c7d74fc9a0f933f7d2bd746ce7fd2b82a4c.tar.gz
cpython-f51a6c7d74fc9a0f933f7d2bd746ce7fd2b82a4c.tar.bz2
#10420: fix docs of bdb.effective().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/bdb.rst10
1 files changed, 4 insertions, 6 deletions
diff --git a/Doc/library/bdb.rst b/Doc/library/bdb.rst
index 3e5a54b..1609c55 100644
--- a/Doc/library/bdb.rst
+++ b/Doc/library/bdb.rst
@@ -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.