소스 검색

Autogenerated documentation for github.

Ask Solem 16 년 전
부모
커밋
c5257bf728
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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