From 941b0d6900fb7a9cbc9c75c87c4807fbabbb0c83 Mon Sep 17 00:00:00 2001 From: Christopher Burns Date: Sun, 27 Jun 2010 20:23:10 -0500 Subject: REF: simplify example of printing list in reverse. --HG-- branch : scipy2010 --- day2/session2.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day2/session2.tex b/day2/session2.tex index 8bcc890..debf7b1 100644 --- a/day2/session2.tex +++ b/day2/session2.tex @@ -286,7 +286,7 @@ Out[]: [2, 4] In []: a[::2] Out[]: [1, 3, 5] -In []: a[-1::-1] +In []: a[::-1] Out[]: [5, 4, 3, 2, 1] \end{lstlisting} \end{frame} -- cgit