<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 3b7ed43d8d159470654351c31a52f9edeaeaa60c Mon Sep 17 00:00:00 2001
From: Prabhu Ramachandran
Date: Fri, 17 Nov 2017 18:32:29 +0530
Subject: Fix some silly mistakes.

---
 advanced_python/practice_functions.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'advanced_python/practice_functions.tex')

diff --git a/advanced_python/practice_functions.tex b/advanced_python/practice_functions.tex
index 9664171..ce7c9d6 100644
--- a/advanced_python/practice_functions.tex
+++ b/advanced_python/practice_functions.tex
@@ -128,13 +128,13 @@ def nkw(**kw):
   \end{block}
 
 \begin{lstlisting}
-In []: nkw(x=1, y=2)
+In []: kwname(x=1, y=2)
 Out[]: ['x', 'y']
 
-In []: nkw()
+In []: kwname()
 Out[]: []
 
-In []: nkw(z=1, a=2)
+In []: kwname(z=1, a=2)
 Out[]: ['a', 'z']
 \end{lstlisting}
 \end{frame}
@@ -143,7 +143,7 @@ Out[]: ['a', 'z']
 \begin{frame}[plain, fragile]
   \frametitle{Solution}
 \begin{lstlisting}
-def nkw(**kw):
+def kwname(**kw):
     return sorted(kw.keys())
 \end{lstlisting}
 \end{frame}
-- 
cgit 

</pre></body></html>