summaryrefslogtreecommitdiffstats
path: root/Doc/library/pdb.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-30 08:43:32 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-30 08:43:32 (GMT)
commit2dfec552fe6a8884e0dd37be382e2454d701f5d9 (patch)
treeb0c1a83475467ca9f49d2a0e3ddb11a733d6a64f /Doc/library/pdb.rst
parente023091815e4946e42c1af102be1f258b2f47cb8 (diff)
downloadcpython-2dfec552fe6a8884e0dd37be382e2454d701f5d9.zip
cpython-2dfec552fe6a8884e0dd37be382e2454d701f5d9.tar.gz
cpython-2dfec552fe6a8884e0dd37be382e2454d701f5d9.tar.bz2
Allow giving an explicit line number to "until".
Diffstat (limited to 'Doc/library/pdb.rst')
-rw-r--r--Doc/library/pdb.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index e279db8..7f44c08 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -330,10 +330,14 @@ by the local file.
executes called functions at (nearly) full speed, only stopping at the next
line in the current function.)
-.. pdbcommand:: unt(il)
+.. pdbcommand:: unt(il) [lineno]
- Continue execution until the line with the line number greater than the
- current one is reached or when returning from current frame.
+ Without argument, continue execution until the line with a number greater
+ than the current one is reached.
+
+ With a line number, continue execution until a line with a number greater or
+ equal to that is reached. In both cases, also stop when the current frame
+ returns.
.. pdbcommand:: r(eturn)