Author: srowen
Date: Mon Mar  2 22:18:42 2015
New Revision: 1663449

URL: http://svn.apache.org/r1663449
Log:
SPARK-4992 follow-up to inhibit undesired text wrapping in Python example

Modified:
    spark/site/index.html

Modified: spark/site/index.html
URL: 
http://svn.apache.org/viewvc/spark/site/index.html?rev=1663449&r1=1663448&r2=1663449&view=diff
==============================================================================
--- spark/site/index.html (original)
+++ spark/site/index.html Mon Mar  2 22:18:42 2015
@@ -214,7 +214,7 @@
       <div class="code">
         text_file = spark.textFile(<span 
class="string">"hdfs://..."</span>)<br />
         &nbsp;<br />
-        text_file.<span class="sparkop">flatMap</span>(<span 
class="closure">lambda line: line.split()</span>)<br />
+        text_file.<span class="sparkop">flatMap</span>(<span 
class="closure">lambda&nbsp;line:&nbsp;line.split()</span>)<br />
         &nbsp;&nbsp;&nbsp;&nbsp;.<span class="sparkop">map</span>(<span 
class="closure">lambda word: (word, 1)</span>)<br />
         &nbsp;&nbsp;&nbsp;&nbsp;.<span 
class="sparkop">reduceByKey</span>(<span class="closure">lambda a, b: 
a+b</span>)
       </div>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to