aboutsummaryrefslogtreecommitdiff
path: root/docs/programming-guide.md
diff options
context:
space:
mode:
authorMatthew Farrellee <matt@redhat.com>2014-06-27 18:20:33 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-06-27 18:20:33 -0700
commit0e0686d3ef88e024fcceafe36a0cdbb953f5aeae (patch)
treed5a59a9cb3e2dc0025b683f370e75b9f8c08d64b /docs/programming-guide.md
parentf17510e371dfbeaada3c72b884d70c36503ea30a (diff)
downloadspark-0e0686d3ef88e024fcceafe36a0cdbb953f5aeae.tar.gz
spark-0e0686d3ef88e024fcceafe36a0cdbb953f5aeae.tar.bz2
spark-0e0686d3ef88e024fcceafe36a0cdbb953f5aeae.zip
[SPARK-2003] Fix python SparkContext example
Author: Matthew Farrellee <matt@redhat.com> Closes #1246 from mattf/SPARK-2003 and squashes the following commits: b12e7ca [Matthew Farrellee] [SPARK-2003] Fix python SparkContext example
Diffstat (limited to 'docs/programming-guide.md')
-rw-r--r--docs/programming-guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/programming-guide.md b/docs/programming-guide.md
index 65d75b85ef..06e4c4ce52 100644
--- a/docs/programming-guide.md
+++ b/docs/programming-guide.md
@@ -145,7 +145,7 @@ that contains information about your application.
{% highlight python %}
conf = SparkConf().setAppName(appName).setMaster(master)
-sc = SparkContext(conf)
+sc = SparkContext(conf=conf)
{% endhighlight %}
</div>