[Python-checkins] r86798 - python/branches/py3k/Doc/library/bdb.rst
python-checkins at python.org
Fri Nov 26 13:05:48 CET 2010
Date: Fri Nov 26 13:05:48 2010
New Revision: 86798
#10420: fix docs of bdb.effective().
--- python/branches/py3k/Doc/library/bdb.rst (original)
+++ python/branches/py3k/Doc/library/bdb.rst Fri Nov 26 13:05:48 2010
@@ -359,12 +359,10 @@
.. 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.
More information about the Python-checkins