aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>