@@ -148,8 +148,8 @@ The :mod:`bdb` module also defines two classes:
148
148
149
149
.. method :: reset()
150
150
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.
153
153
154
154
.. method :: trace_dispatch(frame, event, arg)
155
155
@@ -182,31 +182,31 @@ The :mod:`bdb` module also defines two classes:
182
182
183
183
If the debugger should stop on the current line, invoke the
184
184
: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
186
186
(which can be set from :meth: `user_line `). Return a reference to the
187
187
:meth: `trace_dispatch ` method for further tracing in that scope.
188
188
189
189
.. method :: dispatch_call(frame, arg)
190
190
191
191
If the debugger should stop on this function call, invoke the
192
192
: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
194
194
(which can be set from :meth: `user_call `). Return a reference to the
195
195
:meth: `trace_dispatch ` method for further tracing in that scope.
196
196
197
197
.. method :: dispatch_return(frame, arg)
198
198
199
199
If the debugger should stop on this function return, invoke the
200
200
: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
202
202
(which can be set from :meth: `user_return `). Return a reference to the
203
203
:meth: `trace_dispatch ` method for further tracing in that scope.
204
204
205
205
.. method :: dispatch_exception(frame, arg)
206
206
207
207
If the debugger should stop at this exception, invokes the
208
208
: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
210
210
(which can be set from :meth: `user_exception `). Return a reference to the
211
211
:meth: `trace_dispatch ` method for further tracing in that scope.
212
212
@@ -293,7 +293,9 @@ The :mod:`bdb` module also defines two classes:
293
293
294
294
.. method :: set_quit()
295
295
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
297
299
the next call to one of the :meth: `!dispatch_\* ` methods.
298
300
299
301
@@ -383,7 +385,7 @@ The :mod:`bdb` module also defines two classes:
383
385
.. method :: run(cmd, globals=None, locals=None)
384
386
385
387
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 *.
387
389
388
390
.. method :: runeval(expr, globals=None, locals=None)
389
391
0 commit comments