Calling a constructor by reference

Russell Blau russblau at
Thu Oct 7 15:59:54 CEST 2004

"Russell Blau" <russblau at> wrote in message
news:2skvurF1mh1b5U1 at
> Hint:  what do you see if you run the following function?
> >>> def show_args(type, *args):
>         print args
> >>> show_args()

D'oh! You see an exception, of course!  That last line should be
show_args(X), where X is some object you have already created.

I don't actually read my hotmail account, but you can replace hotmail with
excite if you really want to reach me.

More information about the Python-list mailing list