[Python] Fix some errors in the documentation for -threads

The documentation for -threads was added in
f0f2fd2dae

[skip ci]
This commit is contained in:
Zackery Spytz 2019-02-08 13:32:38 -07:00 committed by Olly Betts
commit 200984f051
3 changed files with 5 additions and 5 deletions

View file

@ -7259,12 +7259,12 @@ will not be able to run any other threads, even if the wrapped C/C++ code is wai
<p>
The <tt>threads</tt> module option in the *.i template file:
</p>
<div class="code"><pre>%feature("nothread") method;</pre></div>
<div class="code"><pre>%module("threads"=1)</pre></div>
</li>
</ul>
</li>
<li><p>You can disable thread support for a given method:</p>
<div class="code"><pre>%module("threads"=1)</pre></div>
<div class="code"><pre>%feature("nothread") method;</pre></div>
or
<div class="code"><pre>%nothread method;</pre></div>
</li>