@@ -16,7 +16,7 @@ The following exception is defined:
1616
1717The :mod: `bdb ` module also defines two classes:
1818
19- .. class :: Breakpoint(self, file, line[ , temporary=0[ , cond=None [ , funcname=None]]] )
19+ .. class :: Breakpoint(self, file, line, temporary=0, cond=None, funcname=None)
2020
2121 This class implements temporary breakpoints, ignore counts, disabling and
2222 (re-)enabling, and conditionals.
@@ -50,7 +50,7 @@ The :mod:`bdb` module also defines two classes:
5050 Mark the breakpoint as disabled.
5151
5252
53- .. method :: pprint([ out] )
53+ .. method :: bpprint( out=None )
5454
5555 Print all the information about the breakpoint:
5656
@@ -233,7 +233,7 @@ The :mod:`bdb` module also defines two classes:
233233 breakpoints. These methods return a string containing an error message if
234234 something went wrong, or ``None `` if all is well.
235235
236- .. method :: set_break(filename, lineno[ , temporary=0[ , cond[ , funcname]]] )
236+ .. method :: set_break(filename, lineno, temporary=0, cond, funcname)
237237
238238 Set a new breakpoint. If the *lineno * line doesn't exist for the
239239 *filename * passed as argument, return an error message. The *filename *
@@ -285,7 +285,7 @@ The :mod:`bdb` module also defines two classes:
285285 Get a list of records for a frame and all higher (calling) and lower
286286 frames, and the size of the higher part.
287287
288- .. method :: format_stack_entry(frame_lineno, [ lprefix=': '] )
288+ .. method :: format_stack_entry(frame_lineno, lprefix=': ')
289289
290290 Return a string with information about a stack entry, identified by a
291291 ``(frame, lineno) `` tuple:
@@ -300,12 +300,12 @@ The :mod:`bdb` module also defines two classes:
300300 The following two methods can be called by clients to use a debugger to debug
301301 a :term: `statement `, given as a string.
302302
303- .. method :: run(cmd, [ globals, [ locals]] )
303+ .. method :: run(cmd, globals=None, locals=None )
304304
305305 Debug a statement executed via the :func: `exec ` function. *globals *
306306 defaults to :attr: `__main__.__dict__ `, *locals * defaults to *globals *.
307307
308- .. method :: runeval(expr, [ globals, [ locals]] )
308+ .. method :: runeval(expr, globals=None, locals=None )
309309
310310 Debug an expression executed via the :func: `eval ` function. *globals * and
311311 *locals * have the same meaning as in :meth: `run `.
0 commit comments