summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPuneeth Chaganti2011-06-14 13:41:19 +0530
committerPuneeth Chaganti2011-06-14 13:41:19 +0530
commitc18973c8f9e4db63f4134fdba723123afb1f1f29 (patch)
tree6318a2d40ce429eef5f07c2f88b1fbf7f1840429
parentbae60b1405d875d2b73d7018c01064866a4ae7e4 (diff)
downloadsees-c18973c8f9e4db63f4134fdba723123afb1f1f29.tar.gz
sees-c18973c8f9e4db63f4134fdba723123afb1f1f29.tar.bz2
sees-c18973c8f9e4db63f4134fdba723123afb1f1f29.zip
adv_py: Removed duplicate slide.
-rw-r--r--advanced_python/slides/lambda.tex17
1 files changed, 0 insertions, 17 deletions
diff --git a/advanced_python/slides/lambda.tex b/advanced_python/slides/lambda.tex
index 2ac7701..25c4f97 100644
--- a/advanced_python/slides/lambda.tex
+++ b/advanced_python/slides/lambda.tex
@@ -105,23 +105,6 @@
\begin{frame}[fragile]
\frametitle{\texttt{map} \ldots}
- \begin{itemize}
- \item Takes a function and a sequence as arguments
- \item Calls function with each element of sequence as argument
- \item Returns a sequence with all the results as elements
- \item We solve the easier problem first, using \texttt{map}
- \end{itemize}
-
- \begin{lstlisting}
- def moonize(weight):
- return weight/6.0
-
- map(moonize, weights)
- \end{lstlisting}
-\end{frame}
-
-\begin{frame}[fragile]
- \frametitle{\texttt{map} \ldots}
\begin{lstlisting}
def migrate(weight):
if weight < 50: