@@ -328,12 +328,16 @@ can be overridden by the local file.
328328
329329.. pdbcommand :: b(reak) [([filename:]lineno | function) [, condition]]
330330
331- With a *lineno * argument, set a break there in the current file. With a
332- *function * argument, set a break at the first executable statement within
333- that function. The line number may be prefixed with a filename and a colon,
334- to specify a breakpoint in another file (probably one that hasn't been loaded
335- yet). The file is searched on :data: `sys.path `. Note that each breakpoint
336- is assigned a number to which all the other breakpoint commands refer.
331+ With a *lineno * argument, set a break at line *lineno * in the current file.
332+ The line number may be prefixed with a *filename * and a colon,
333+ to specify a breakpoint in another file (possibly one that hasn't been loaded
334+ yet). The file is searched on :data: `sys.path `. Accepatable forms of *filename *
335+ are ``/abspath/to/file.py ``, ``relpath/file.py ``, ``module `` and
336+ ``package.module ``.
337+
338+ With a *function * argument, set a break at the first executable statement within
339+ that function. *function * can be any expression that evaluates to a function
340+ in the current namespace.
337341
338342 If a second argument is present, it is an expression which must evaluate to
339343 true before the breakpoint is honored.
@@ -342,6 +346,9 @@ can be overridden by the local file.
342346 of times that breakpoint has been hit, the current ignore count, and the
343347 associated condition if any.
344348
349+ Each breakpoint is assigned a number to which all the other
350+ breakpoint commands refer.
351+
345352.. pdbcommand :: tbreak [([filename:]lineno | function) [, condition]]
346353
347354 Temporary breakpoint, which is removed automatically when it is first hit.
0 commit comments