[SPARK-2003] Fix python SparkContext example