Skip to content

Commit 23a1da4

Browse files
committed
Fixed invalid syntax
1 parent 61700f5 commit 23a1da4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/python/PythonTutorial.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" />
6+
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
77
<title>Python Tutorial for Robot Framework Test Library Developers</title>
88
<style type="text/css">
99

@@ -506,7 +506,7 @@ <h1 class="title">Python Tutorial for Robot Framework Test Library Developers</h
506506
- path file names and paths
507507
- misc everything else (synonym to ``text``) -->
508508
<div class="line-block">
509-
<div class="line">Copyright © Nokia Siemens Networks 2009</div>
509+
<div class="line">Copyright © Nokia Siemens Networks 2008-2010</div>
510510
<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>
511511
</div>
512512
<div class="contents topic" id="table-of-contents">
@@ -1040,7 +1040,7 @@ <h2><a class="toc-backref" href="#id29">Looping</a></h2>
10401040
</li>
10411041
<li><p class="first"><span class="code">while</span> loops iterate as long as given expression is true. Very handy
10421042
when waiting some event to occur.</p>
1043-
<div class="highlight"><pre><span class="k">def</span> <span class="nf">wait_until_message_received</span><span class="p">:</span>
1043+
<div class="highlight"><pre><span class="k">def</span> <span class="nf">wait_until_message_received</span><span class="p">():</span>
10441044
<span class="n">msg</span> <span class="o">=</span> <span class="n">try_to_receive_message</span><span class="p">()</span>
10451045
<span class="k">while</span> <span class="n">msg</span> <span class="ow">is</span> <span class="bp">None</span><span class="p">:</span>
10461046
<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 @@ <h2><a class="toc-backref" href="#id42">Executable example</a></h2>
14101410
<div class="footer">
14111411
<hr class="footer" />
14121412
<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>
1413-
<p>Generated on: 2010-03-10 09:49 UTC.
1413+
<p>Generated on: 2010-11-01 08:52 UTC.
14141414
</p>
14151415

14161416
</div>

doc/python/PythonTutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ Looping
533533

534534
.. sourcecode:: python
535535

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

0 commit comments

Comments
 (0)