summaryrefslogtreecommitdiff
path: root/advanced-features-functions
diff options
context:
space:
mode:
authorAmit Sethi2010-11-09 15:40:53 +0530
committerAmit Sethi2010-11-09 15:40:53 +0530
commit8d896c4eb9f915a7b7da9b3b15871ad51209bf1d (patch)
treee4bb7a47d35302ac601d4c36ebeae0b326c086af /advanced-features-functions
parent4065e37886895c703f0a6495fe5894e7151543b3 (diff)
parent3ccaf26be2e2321ce074ea72448fb4240a22523e (diff)
downloadst-scripts-8d896c4eb9f915a7b7da9b3b15871ad51209bf1d.tar.gz
st-scripts-8d896c4eb9f915a7b7da9b3b15871ad51209bf1d.tar.bz2
st-scripts-8d896c4eb9f915a7b7da9b3b15871ad51209bf1d.zip
"Merging heads"
Diffstat (limited to 'advanced-features-functions')
-rw-r--r--advanced-features-functions/script.rst12
1 files changed, 2 insertions, 10 deletions
diff --git a/advanced-features-functions/script.rst b/advanced-features-functions/script.rst
index 0abae54..6e49c44 100644
--- a/advanced-features-functions/script.rst
+++ b/advanced-features-functions/script.rst
@@ -169,7 +169,8 @@ Please, pause the video here. Do the exercise and then continue.
welcome()
-Let us now learn what keyword arguments are.
+Let us now learn what keyword arguments or named arguments are. We
+shall refer to them as keyword arguments, henceforth.
{{{ show a slide with examples using keyword arguments. }}}
@@ -185,14 +186,6 @@ Let us now learn what keyword arguments are.
pie(science.values(), labels = science.keys())
-.. #[[Anoop: I think it will better to introduce keyword arguments as
- keyword/named arguments, as the keyword term was quite confusing
- for me, so can be for someone who already know certain
- jargon's/concepts, also it would be good to tell them that these
- are different from keywords in programming languages, explicit is
- better than implicit, and probably you could also tell them that
- from now on we will refer to it as just keyword arguments]]
-
When you are calling functions in Python, you don't need to remember
the order in which to pass the arguments. Instead, you can use the
name of the argument to pass it a value. This slide shows a few
@@ -249,7 +242,6 @@ with it.
.. #[punch: Need to decide, exactly what to put here. Reviewer comments
.. welcome.]
-
{{{ switch to slide showing classes of functions in pylab, scipy }}}
.. #[[Anoop: slide missing]]