summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-12-17 16:15:34 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-12-17 16:15:34 (GMT)
commitcfd3884882bd7fbcadb7d89508c4af70569f87a0 (patch)
tree8634f770b3d214fb0952bdde8c0f2aeb6c512ecb /Doc/whatsnew
parentf680cc460c06d87e9cc1beafafb4a017712f8868 (diff)
downloadcpython-cfd3884882bd7fbcadb7d89508c4af70569f87a0.zip
cpython-cfd3884882bd7fbcadb7d89508c4af70569f87a0.tar.gz
cpython-cfd3884882bd7fbcadb7d89508c4af70569f87a0.tar.bz2
This is Richie Hindle's patch
[ 643835 ] Set Next Statement for Python debuggers with a few tweaks by me: adding an unsigned or two, mentioning that not all jumps are allowed in the doc for pdb, adding a NEWS item and a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew23.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex
index 39b7c70..ee8d644 100644
--- a/Doc/whatsnew/whatsnew23.tex
+++ b/Doc/whatsnew/whatsnew23.tex
@@ -12,6 +12,8 @@
% MacOS framework-related changes (section of its own, probably)
+% the new set-next-statement functionality of pdb (SF #643835)
+
%\section{Introduction \label{intro}}
{\large This article is a draft, and is currently up to date for some
@@ -1201,13 +1203,13 @@ For example:
\begin{verbatim}
>>> days = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'St', 'Sn']
->>> random.sample(days, 3) # Choose 3 elements
+>>> random.sample(days, 3) # Choose 3 elements
['St', 'Sn', 'Th']
->>> random.sample(days, 7) # Choose 7 elements
+>>> random.sample(days, 7) # Choose 7 elements
['Tu', 'Th', 'Mo', 'We', 'St', 'Fr', 'Sn']
->>> random.sample(days, 7) # Choose 7 again
+>>> random.sample(days, 7) # Choose 7 again
['We', 'Mo', 'Sn', 'Fr', 'Tu', 'St', 'Th']
->>> random.sample(days, 8) # Can't choose eight
+>>> random.sample(days, 8) # Can't choose eight
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "random.py", line 414, in sample