diff options
Diffstat (limited to 'doc/html/annotations.html')
-rw-r--r-- | doc/html/annotations.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/annotations.html b/doc/html/annotations.html index fc76524..439dbf4 100644 --- a/doc/html/annotations.html +++ b/doc/html/annotations.html @@ -82,16 +82,16 @@ within the range if it is greater or equal to the lower bound and less than the upper bound. Each bound can be omitted meaning that the range is unbounded in that direction.</p> <p>For example:</p> -<div class="last highlight-python"><pre># This is part of the PyQt4 API up to but excluding v2. -void hex() /API=PyQt4:-2/ +<div class="last highlight-python"><pre># This is part of the PyTQt4 API up to but excluding v2. +void hex() /API=PyTQt4:-2/ -# This is part of the PyQt4 API starting from v2. -void hex() /PyName=hex_, API=PyQt4:2-/</pre> +# This is part of the PyTQt4 API starting from v2. +void hex() /PyName=hex_, API=PyTQt4:2-/</pre> </div> </dd> </dl> <p>The following example shows argument and function annotations:</p> -<div class="highlight-python"><pre>void exec(QWidget * /Transfer/) /ReleaseGIL, PyName=call_exec/;</pre> +<div class="highlight-python"><pre>void exec(TQWidget * /Transfer/) /ReleaseGIL, PyName=call_exec/;</pre> </div> <p>Note that the current version of SIP does not complain about unknown annotations, or annotations used out of their correct context.</p> @@ -191,7 +191,7 @@ directive. If the directive is not specified then <tt class="xref docutils lite <p>Python v3 will use the <tt class="docutils literal"><span class="pre">bytes</span></tt> type to represent the argument if the encoding is <tt class="docutils literal"><span class="pre">"None"</span></tt> and the <tt class="docutils literal"><span class="pre">str</span></tt> type otherwise.</p> <p>Python v2 will use the <tt class="docutils literal"><span class="pre">str</span></tt> type to represent the argument if the -encoding is <tt class="docutils literal"><span class="pre">"None"</span></tt> and the <tt class="docutils literal"><span class="pre">unicode</span></tt> type otherwise.</p> +encoding is <tt class="docutils literal"><span class="pre">"None"</span></tt> and the <tt class="docutils literal"><span class="pre">tqunicode</span></tt> type otherwise.</p> </dd></dl> <dl class="argument-annotation"> |