@@ -148,8 +148,8 @@ The :mod:`bdb` module also defines two classes:
148148
149149 .. method :: reset()
150150
151- Set the :attr: `botframe `, :attr: `stopframe `, :attr: `returnframe ` and
152- :attr: `quitting ` attributes with values ready to start debugging.
151+ Set the :attr: `! botframe `, :attr: `! stopframe `, :attr: `! returnframe ` and
152+ :attr: `quitting <Bdb.set_quit> ` attributes with values ready to start debugging.
153153
154154 .. method :: trace_dispatch(frame, event, arg)
155155
@@ -182,31 +182,31 @@ The :mod:`bdb` module also defines two classes:
182182
183183 If the debugger should stop on the current line, invoke the
184184 :meth: `user_line ` method (which should be overridden in subclasses).
185- Raise a :exc: `BdbQuit ` exception if the :attr: `Bdb.quitting ` flag is set
185+ Raise a :exc: `BdbQuit ` exception if the :attr: `quitting < Bdb.set_quit> ` flag is set
186186 (which can be set from :meth: `user_line `). Return a reference to the
187187 :meth: `trace_dispatch ` method for further tracing in that scope.
188188
189189 .. method :: dispatch_call(frame, arg)
190190
191191 If the debugger should stop on this function call, invoke the
192192 :meth: `user_call ` method (which should be overridden in subclasses).
193- Raise a :exc: `BdbQuit ` exception if the :attr: `Bdb.quitting ` flag is set
193+ Raise a :exc: `BdbQuit ` exception if the :attr: `quitting < Bdb.set_quit> ` flag is set
194194 (which can be set from :meth: `user_call `). Return a reference to the
195195 :meth: `trace_dispatch ` method for further tracing in that scope.
196196
197197 .. method :: dispatch_return(frame, arg)
198198
199199 If the debugger should stop on this function return, invoke the
200200 :meth: `user_return ` method (which should be overridden in subclasses).
201- Raise a :exc: `BdbQuit ` exception if the :attr: `Bdb.quitting ` flag is set
201+ Raise a :exc: `BdbQuit ` exception if the :attr: `quitting < Bdb.set_quit> ` flag is set
202202 (which can be set from :meth: `user_return `). Return a reference to the
203203 :meth: `trace_dispatch ` method for further tracing in that scope.
204204
205205 .. method :: dispatch_exception(frame, arg)
206206
207207 If the debugger should stop at this exception, invokes the
208208 :meth: `user_exception ` method (which should be overridden in subclasses).
209- Raise a :exc: `BdbQuit ` exception if the :attr: `Bdb.quitting ` flag is set
209+ Raise a :exc: `BdbQuit ` exception if the :attr: `quitting < Bdb.set_quit> ` flag is set
210210 (which can be set from :meth: `user_exception `). Return a reference to the
211211 :meth: `trace_dispatch ` method for further tracing in that scope.
212212
@@ -293,7 +293,9 @@ The :mod:`bdb` module also defines two classes:
293293
294294 .. method :: set_quit()
295295
296- Set the :attr: `quitting ` attribute to ``True ``. This raises :exc: `BdbQuit ` in
296+ .. index :: single: quitting (bdb.Bdb attribute)
297+
298+ Set the :attr: `!quitting ` attribute to ``True ``. This raises :exc: `BdbQuit ` in
297299 the next call to one of the :meth: `!dispatch_\* ` methods.
298300
299301
@@ -383,7 +385,7 @@ The :mod:`bdb` module also defines two classes:
383385 .. method :: run(cmd, globals=None, locals=None)
384386
385387 Debug a statement executed via the :func: `exec ` function. *globals *
386- defaults to :attr: `__main__.__dict__ `, *locals * defaults to *globals *.
388+ defaults to :attr: `! __main__.__dict__ `, *locals * defaults to *globals *.
387389
388390 .. method :: runeval(expr, globals=None, locals=None)
389391
0 commit comments