Revision: 4277
Author: jprantan
Date: Mon Nov  1 01:55:15 2010
Log: Fixed invalid syntax
http://code.google.com/p/robotframework/source/detail?r=4277

Modified:
 /trunk/doc/python/PythonTutorial.html
 /trunk/doc/python/PythonTutorial.rst

=======================================
--- /trunk/doc/python/PythonTutorial.html       Thu May  6 03:01:28 2010
+++ /trunk/doc/python/PythonTutorial.html       Mon Nov  1 01:55:15 2010
@@ -3,7 +3,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/"; /> +<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/"; />
 <title>Python Tutorial for Robot Framework Test Library Developers</title>
 <style type="text/css">

@@ -506,7 +506,7 @@
 - path   file names and paths
 - misc   everything else (synonym to ``text``) -->
 <div class="line-block">
-<div class="line">Copyright © Nokia Siemens Networks 2009</div>
+<div class="line">Copyright © Nokia Siemens Networks 2008-2010</div>
<div class="line">Licensed under the <a class="reference external" href="http://creativecommons.org/licenses/by/3.0/";>Creative Commons Attribution 3.0 Unported</a> license</div>
 </div>
 <div class="contents topic" id="table-of-contents">
@@ -1040,7 +1040,7 @@
 </li>
<li><p class="first"><span class="code">while</span> loops iterate as long as given expression is true. Very handy
 when waiting some event to occur.</p>
-<div class="highlight"><pre><span class="k">def</span> <span class="nf">wait_until_message_received</span><span class="p">:</span> +<div class="highlight"><pre><span class="k">def</span> <span class="nf">wait_until_message_received</span><span class="p">():</span> <span class="n">msg</span> <span class="o">=</span> <span class="n">try_to_receive_message</span><span class="p">()</span> <span class="k">while</span> <span class="n">msg</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span> <span class="n">time</span><span class="o">.</span><span class="n">sleep</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span>
@@ -1410,7 +1410,7 @@
 <div class="footer">
 <hr class="footer" />
<p>Generated by <a class="reference external" href="http://docutils.sourceforge.net/rst.html";>reStructuredText</a>. Syntax highlighting by <a class="reference external" href="http://pygments.org/";>Pygments</a>.</p>
-<p>Generated on: 2010-03-10 09:49 UTC.
+<p>Generated on: 2010-11-01 08:52 UTC.
 </p>

 </div>
=======================================
--- /trunk/doc/python/PythonTutorial.rst        Mon May 31 05:36:59 2010
+++ /trunk/doc/python/PythonTutorial.rst        Mon Nov  1 01:55:15 2010
@@ -533,7 +533,7 @@

   .. sourcecode:: python

-    def wait_until_message_received:
+    def wait_until_message_received():
         msg = try_to_receive_message()
         while msg is None:
             time.sleep(5)

Reply via email to