# HG changeset patch # User Christopher Burns # Date 1277688190 18000 # Node ID 2ab009c9f80ac8162a7d81b33386ab34372d13a2 # Parent 11c942a85b3f584c0c03e5f7badc4727a245a15f REF: simplify example of printing list in reverse. diff -r 11c942a85b3f -r 2ab009c9f80a day2/session2.tex --- a/day2/session2.tex Sun Jun 27 15:16:54 2010 -0500 +++ b/day2/session2.tex Sun Jun 27 20:23:10 2010 -0500 @@ -286,7 +286,7 @@ In []: a[::2] Out[]: [1, 3, 5] -In []: a[-1::-1] +In []: a[::-1] Out[]: [5, 4, 3, 2, 1] \end{lstlisting} \end{frame}