Selaa lähdekoodia

Autogenerated documentation for github.

Ask Solem 16 vuotta sitten
vanhempi
commit
c5257bf728
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      introduction.html
  2. 1 1
      sources/introduction.txt

+ 1 - 1
introduction.html

@@ -259,7 +259,7 @@ finish and get its return value (or exception if the task failed).</p>
 <span class="go">42</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="n">result</span><span class="o">.</span><span class="n">result</span>
 <span class="go">42</span>
-<span class="gp">&gt;&gt;&gt; </span><span class="n">result</span><span class="o">.</span><span class="n">success</span><span class="p">()</span> <span class="c"># returns True if the task didn&#39;t end in failure.</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">result</span><span class="o">.</span><span class="n">successful</span><span class="p">()</span> <span class="c"># returns True if the task didn&#39;t end in failure.</span>
 <span class="go">True</span>
 </pre></div>
 </div>

+ 1 - 1
sources/introduction.txt

@@ -258,7 +258,7 @@ So, let's execute the task again, but this time we'll keep track of the task:
     42
     >>> result.result
     42
-    >>> result.success() # returns True if the task didn't end in failure.
+    >>> result.successful() # returns True if the task didn't end in failure.
     True