diff options
author | Christopher Burns | 2010-06-27 20:23:10 -0500 |
---|---|---|
committer | Christopher Burns | 2010-06-27 20:23:10 -0500 |
commit | 44f6e20241f31fd561a24c4f28850331a92e38ae (patch) | |
tree | 0d1688beeaed96b5050a6b5348c79d80775ab873 | |
parent | 639a16e6bee7ea1a9dc668c8611ca16ff2e18cf2 (diff) | |
download | workshops-44f6e20241f31fd561a24c4f28850331a92e38ae.tar.gz workshops-44f6e20241f31fd561a24c4f28850331a92e38ae.tar.bz2 workshops-44f6e20241f31fd561a24c4f28850331a92e38ae.zip |
REF: simplify example of printing list in reverse.
--HG--
branch : scipy2010
-rw-r--r-- | day2/session2.tex | 2 |
1 files changed, 1 insertions, 1 deletions
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} |