@ -380,7 +380,7 @@ made to each element of the list.</dd>
</dl>
<p>The handwritten code must explicitly return a <ttclass="docutils literal"><spanclass="pre">PyObject</span><spanclass="pre">*</span></tt>. If there was an
error then a Python exception must be raised and <ttclass="docutils literal"><spanclass="pre">NULL</span></tt> returned.</p>
<p>The following example converts a <ttclass="docutils literal"><spanclass="pre">TQList<TQWidget</span><spanclass="pre">*></span></tt> instance to a Python
<p>The following example converts a <ttclass="docutils literal"><spanclass="pre">TQPtrList<TQWidget</span><spanclass="pre">*></span></tt> instance to a Python
list of <ttclass="docutils literal"><spanclass="pre">TQWidget</span></tt> instances:</p>
// Include the library interface to the type being mapped.
@ -1272,7 +1272,7 @@ object.</p>
}
// Create the instance on the heap.
TQList<Type *> *ql = new TQList<Type *>;
TQPtrList<Type *> *ql = new TQPtrList<Type *>;
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{
@ -1333,7 +1333,7 @@ object.</p>
%End
}</pre>
</div>
<p>Using this we can use, for example, <ttclass="docutils literal"><spanclass="pre">TQList<TQObject</span><spanclass="pre">*></span></tt> throughout the
<p>Using this we can use, for example, <ttclass="docutils literal"><spanclass="pre">TQPtrList<TQObject</span><spanclass="pre">*></span></tt> throughout the
module’s specification files (and in any module that imports this one). The
generated code will automatically map this to and from a Python list of TQObject