From 0e0686d3ef88e024fcceafe36a0cdbb953f5aeae Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Fri, 27 Jun 2014 18:20:33 -0700 Subject: [SPARK-2003] Fix python SparkContext example Author: Matthew Farrellee Closes #1246 from mattf/SPARK-2003 and squashes the following commits: b12e7ca [Matthew Farrellee] [SPARK-2003] Fix python SparkContext example --- docs/programming-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/programming-guide.md') 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 %} -- cgit v1.2.3