Extending classes __init__behavior for newbies
prologic at shortcircuit.net.au
Mon Feb 14 00:11:47 CET 2011
On Mon, Feb 14, 2011 at 8:39 AM, rantingrick <rantingrick at gmail.com> wrote:
> Did everyone miss the fact that this inheritance is unnecessary?
> Considering the Ship class has an attribute "speed" that will be
> affected (either directly or indirectly) by simply modifying it?
The attribute "speed" was not a member of the
OP's class ship.
-- James Mills
-- "Problems are solved by method"
More information about the Python-list