[C++-sig] confused...

Paul Rudin paul.rudin at ntlworld.com
Thu May 15 07:52:33 CEST 2003


Nicodemus <nicodemus at globalite.com.br> writes:


> >>>>class sub(Base):
> >>>>
> >... 	 def foo(z):
> >... 	     z=z+7		
> > ...
> Change sub to:
> 
>  >>> class sub(Base):
> ...     def foo(self, z):
> ...         return z+7
> ...
> 

Arrgh, yes. Silly error. Sorry.





More information about the Cplusplus-sig mailing list