2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 17:52:17 +00:00

Tutorial updates

[SVN r17598]
This commit is contained in:
Joel de Guzman
2003-02-23 03:53:36 +00:00
parent 2a530bb9d2
commit 600602f9dc
4 changed files with 46 additions and 42 deletions

View File

@@ -25,8 +25,9 @@
</tr>
</table>
<p>
Continuing, now, at last, we can even derive from our base class Base in
Python. Before we can do that, we have to set up our <tt>class_</tt> wrapper as:</p>
Continuing, we can derive from our base class Base in Python and override
the virtual function in Python. Before we can do that, we have to set up
our <tt>class_</tt> wrapper as:</p>
<code><pre>
<span class=identifier>class_</span><span class=special>&lt;</span><span class=identifier>Base</span><span class=special>, </span><span class=identifier>BaseWrap</span><span class=special>, </span><span class=identifier>boost</span><span class=special>::</span><span class=identifier>noncopyable</span><span class=special>&gt;(</span><span class=string>&quot;Base&quot;</span><span class=special>)
;