Hi --

On Fri, 23 Jan 2004, Michael Weller wrote:

> ts schrieb:
> 
> > Just write it like this
> >
> >M> class B < A
> >M> 	def initialize(x, y)
> >M> 		super
> >
> >                super()  # call super with no args
> >
> >M> 		@myX = x
> >
> >  
> >
> That doesn't do the trick (btw: super is different from super()?).

super() explicitly says that you want an empty argument list, whereas
super on its own, as you mentioned, will pass along any arguments
received by the method in which it appears.


David

-- 
David A. Black
dblack / wobblini.net